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))
Answer:A
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))
Explanation: It returns one number from the given range.