回答編集履歴

1

コード修正

2018/02/16 17:34

投稿

LouiS0616
LouiS0616

スコア35660

test CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  files = [
28
28
 
29
- [f.stem, f.suffix] for f in files
29
+ [f.stem, f.suffix[1:]] for f in files
30
30
 
31
31
  ]
32
32
 
@@ -38,16 +38,16 @@
38
38
 
39
39
 
40
40
 
41
- **実行結果** [Wandbox](https://wandbox.org/permlink/CHKvTBHyEIgqsiDd)
41
+ **実行結果** [Wandbox](https://wandbox.org/permlink/0B5VYCDvVe8wa7sx)
42
42
 
43
43
  ```Python
44
44
 
45
- ['nene01', '.py']
45
+ ['nene01', 'py']
46
46
 
47
- ['kou01', '.py']
47
+ ['kou01', 'py']
48
48
 
49
- ['kou02', '.py']
49
+ ['kou02', 'py']
50
50
 
51
- ['aoba02', '.py']
51
+ ['aoba02', 'py']
52
52
 
53
53
  ```