ExamVeda
Login
Home
71
What will be the output of the following Python code?
random.randrange(1,100,10)
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
72
What is returned by math.isfinite(float('nan'))?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
73
The command used to set only the x coordinate of the turtle at 45 units is:
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
74
Which of the following functions helps us to randomize the items of a list?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
75
Which of the following is false about "import modulename" form of import?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
76
Which of the following Python codes will result in an error?
object = ‘a’
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
77
What does the function math.frexp(x) return?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
78
What is the range of values that random.random() can return?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
79
The output of the following Python code is either 1 or 2.
import random
random.randint(1,2)
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
80
Which of the following functions returns a value in degrees, counterclockwise from the horizontal right?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board