回答編集履歴

2

バージョンを明記

2018/02/24 11:17

投稿

KSwordOfHaste
KSwordOfHaste

スコア18394

test CHANGED
@@ -41,3 +41,9 @@
41
41
 
42
42
 
43
43
  ```
44
+
45
+
46
+
47
+ ---
48
+
49
+ Python 3.6.0

1

コードの間違いを訂正

2018/02/24 11:17

投稿

KSwordOfHaste
KSwordOfHaste

スコア18394

test CHANGED
@@ -34,9 +34,9 @@
34
34
 
35
35
 
36
36
 
37
- ''.join(functools.reduce(drop_same, 'abbac', '')) # 'c'
37
+ functools.reduce(drop_same, 'abbac', '') # 'c'
38
38
 
39
- ''.join(functools.reduce(drop_same, 'zabbaccz', '')) # ''
39
+ functools.reduce(drop_same, 'zabbaccz', '') # ''
40
40
 
41
41
 
42
42