I\'m having trouble with a code where I need to roll a six-sided die 1000 times and then return a list of how many times each number on the die was rolled.
The code
You should do random.randint(1, 7), otherwise you will never get a 6.
random.randint(1, 7)
... roll = random.randint(1, 7)