import random def RolledStuff() : rolls = random.randint(1,100) return rolls total = 0 a = 0 while a < 10 : a += 1 numbers = [] for i in range(1,11) : roll = RolledStuff() total += roll numbers.append(roll) print(numbers) print("total value", total)