回答編集履歴
1
質問の変更に伴うコード修正
test
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
```
|
7
|
+
```Python
|
8
8
|
|
9
9
|
import itertools
|
10
10
|
|
@@ -12,8 +12,8 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
|
15
|
+
sentence = ["I","can","not","understand","deep","learning"]
|
16
16
|
|
17
|
-
ret = random.choice(list(itertools.combinations(
|
17
|
+
ret = random.choice(list(itertools.combinations(sentence, 3)))
|
18
18
|
|
19
19
|
```
|