Page 1 of 1

Which of the following is equivalent to random.randint(3, 6)?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) random.choice([3, 6])
b) random.randrange(3, 6)
c) 3 + random.randrange(3)
d) 3 + random.randrange(4)