Examveda

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

A. random.choice([3, 6])

B. random.randrange(3, 6)

C. 3 + random.randrange(3)

D. 3 + random.randrange(4)

Answer: Option D


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python