import random number = [1,2,3,4,5,6] dice = random.choice(number) print(dice) dice = random.randint(1,6) print(dice)