0
Create a program to replace the dice.
Create a program to replace the dice. When the program is run, it should roll the dice and output the result of each die. Use random.randint() function to generate random values in the range of 1 to 6 for each dice import random random.seed(int(input())) #please don't touch this lane #generate the random values for every dice dice1 = dice2 = print(dice1) print(dice2)
1 Resposta
+ 2
This will print the number between 1 and 6.
random.randint(1, 6)