Which of the following is equivalent to random.randrange(3)?
(a) range(3)
(b) random.choice(range(0, 3))
(c) random.shuffle(range(3))
(d) random.select(range(3))
I had been asked this question in an online quiz.
The question is from Random Module in chapter Mapping Functions and Modules of Python