Home / MCQ Bank / Computer
Computer Module In Python

Which of the following is equivalent to random.randrange(3)?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • random.choice(range(0, 3))

Related Computer Questions

How can you implement a stack using a linked list? Backtracking algorithm is implemented by constructing a tree of choices called as? Bellmann ford algorithm provides solution for ______ problems. Solve the following recurrence using Master's theorem. T(n) = 0.7 T (n/2) + 1/n How many Node object methods are available?