回答編集履歴
1
修正
test
CHANGED
@@ -8,21 +8,21 @@
|
|
8
8
|
|
9
9
|
for elem in product(["a", "b", "c", "d", "e"], repeat=3):
|
10
10
|
|
11
|
-
print(elem)
|
11
|
+
print(*elem)
|
12
12
|
|
13
13
|
```
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
**実行結果** [Wandbox](https://wandbox.org/permlink/
|
17
|
+
**実行結果** [Wandbox](https://wandbox.org/permlink/lPCnGc7bQ5SqYe3F)
|
18
18
|
|
19
19
|
```
|
20
20
|
|
21
|
-
|
21
|
+
a a a
|
22
22
|
|
23
|
-
|
23
|
+
a a b
|
24
24
|
|
25
|
-
|
25
|
+
a a c
|
26
26
|
|
27
27
|
|
28
28
|
|
@@ -30,10 +30,10 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
-
|
33
|
+
e e c
|
34
34
|
|
35
|
-
|
35
|
+
e e d
|
36
36
|
|
37
|
-
|
37
|
+
e e e
|
38
38
|
|
39
39
|
```
|