Computer Science (Year 8)
Simulating dice with randint
Which function is best to simulate a dice roll?
random.randint(1, 6)
random.choice(1, 6)
str(1, 6)
input(1, 6)