Which Of The Following Is Equivalent To Randomrandint3 6 #874
Which of the following is equivalent to random.randint(3, 6)?
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Modules - Python Random Module - Quiz No.2.
Which of the following is equivalent to random.randint(3, 6)?
random.choice([3, 6])
random.randrange(3, 6)
3 + random.randrange(3)
3 + random.randrange(4)