回答編集履歴
1
追記
test
CHANGED
@@ -66,4 +66,20 @@
|
|
66
66
|
|
67
67
|
|
68
68
|
|
69
|
+
# 関数
|
70
|
+
|
71
|
+
def rnd(i, j):
|
72
|
+
|
73
|
+
return random.randint(Min[i, j], Max[i, j])
|
74
|
+
|
75
|
+
Ran_4 = np.array([[rnd(i, 0), rnd(i, 1)] for i in range(3)])
|
76
|
+
|
77
|
+
print(Ran_4)
|
78
|
+
|
79
|
+
# [[ 3 6]
|
80
|
+
|
81
|
+
# [ 7 8]
|
82
|
+
|
83
|
+
# [11 13]]
|
84
|
+
|
69
85
|
```
|