回答編集履歴
1
addの方が良いかなと。
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
x = ['a', 'b', 'c', 'd']
|
14
14
|
|
15
|
-
x_list = reduce(operator.
|
15
|
+
x_list = reduce(operator.add, zip(x,x))
|
16
16
|
|
17
17
|
print(x_list)
|
18
18
|
|