質問編集履歴
1
より詳しく説明
test
CHANGED
File without changes
|
test
CHANGED
@@ -19,6 +19,10 @@
|
|
19
19
|
a = np.zeros((6,6), dtype=int) # 正方行列
|
20
20
|
|
21
21
|
a[1][3] = 1
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
# ループ内で一定回数繰り返す
|
22
26
|
|
23
27
|
|
24
28
|
|
@@ -52,6 +56,22 @@
|
|
52
56
|
|
53
57
|
[0 0 0 0 0 0]]
|
54
58
|
|
59
|
+
# さらには ↓
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
a = [[1 0 1 0 1 0]
|
64
|
+
|
65
|
+
[0 1 0 1 0 1]
|
66
|
+
|
67
|
+
[1 0 1 0 1 0]
|
68
|
+
|
69
|
+
[0 1 0 1 0 1]
|
70
|
+
|
71
|
+
[1 0 1 0 1 0]
|
72
|
+
|
73
|
+
[0 1 0 1 0 1]]
|
74
|
+
|
55
75
|
```
|
56
76
|
|
57
77
|
|