回答編集履歴
1
不使用変数名を _ に変更
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
histgram = [0] * (max(DICE_NUMBERS) * num_dice + 1)
|
26
26
|
|
27
|
-
for
|
27
|
+
for _ in range(roll_times):
|
28
28
|
|
29
29
|
histgram[sum(roll_dice(num_dice))] += 1
|
30
30
|
|