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

In data ethics, what is the main purpose of a "data ethics committee"? "request" is instance of which one of the following classes? which of the following terms does not describe a database structure used by a dbms to link data from several files? Super computers are primarily useful for What is the output of the following code: class Parent: def init(self): print('Parent constructor') class Child(Parent): def init(self): print('Child constructor') obj = Child()