π link feature broke code!
from random import randint
#Change these values to:
## Roll different numbers of dice
## Roll different values of dice
total_dice = 5
dice_val = 20
#store rolls
rolls = []
#Roll the dice
for i in range(total_dice):
roll = randint(0, dice_val)
rolls.append(roll)
#Print Header Row
print("Roll #\tof d" + str(dice_val))
print("------------------")
#Print dice rolls in order
for i in range(total_dice):
print("#" + str(i+1) + ":\t" + str(rolls[i]))