import random print("Ten randomly generated numbers:") for item in range(0,10): dice_roll = random.randint(6,10) print(dice_roll, end="\t")