71. What will be the output of the following Python code?
random.randrange(1,100,10)
random.randrange(1,100,10)
72. What is returned by math.isfinite(float('nan'))?
73. The command used to set only the x coordinate of the turtle at 45 units is:
74. Which of the following functions helps us to randomize the items of a list?
75. Which of the following is false about "import modulename" form of import?
76. Which of the following Python codes will result in an error?
object = ‘a’
object = ‘a’
77. What does the function math.frexp(x) return?
78. What is the range of values that random.random() can return?
79. The output of the following Python code is either 1 or 2.
import random
random.randint(1,2)
import random
random.randint(1,2)
80. Which of the following functions returns a value in degrees, counterclockwise from the horizontal right?
Read More Section(Module in Python)
Each Section contains maximum 100 MCQs question on Module in Python. To get more questions visit other sections.