質問するログイン新規登録

回答編集履歴

1

修正

2021/12/10 10:55

投稿

tiitoi
tiitoi

スコア21962

answer CHANGED
@@ -32,6 +32,11 @@
32
32
  # (1, 1, 1)
33
33
  # (1, 2, 0)
34
34
  # (1, 2, 1)
35
+
36
+ import itertools
37
+
38
+ for a, b in zip(product(product(A, B), C), itertools.product(A, B, C)):
39
+ assert a == b # 一致することを確認
35
40
  ```
36
41
 
37
42
  変更箇所