+ 1
modules
import random for i in range(5): value = random.randint(1, 6) print(value) let me know this in detail........
1 Resposta
+ 1
Here 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