import random for i in range(5): value = random.randint(1, 6) print(value) let me know this in detail........
4/17/2020 9:32:11 AM
PRIYANKA K1 Answer
New AnswerHere using randint() function of module random we are printing random function between 1 & 6 as 1 & 6 are given two parameters and it will print 5 times as that for loop runs 5 times
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message