回答編集履歴

1

不使用変数名を _ に変更

2020/05/10 07:41

投稿

shiracamus
shiracamus

スコア5406

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  histgram = [0] * (max(DICE_NUMBERS) * num_dice + 1)
26
26
 
27
- for number in range(roll_times):
27
+ for _ in range(roll_times):
28
28
 
29
29
  histgram[sum(roll_dice(num_dice))] += 1
30
30