I'm trying to use a for loop to assign values to variables - in this case the variables are all called: 'die1', 'die2', 'die3', etc.
import random for i in range(5): die[i] = random.randint(1,6) What i'm trying to achieve is ending up with 5 variables assigned with a random number. I've tried a few different ways but end up with either 'die' variable not been assigned or that I'm not able to use 'i' or another variable that I count up.