Python - MCQ
Multiple Choice Questions
Python MCQ - File I/O Handling and Exception Handling - Set 42
31. What is the output of the following print() function
x = float('NaN')
print('%f, %e, %F, %E' % (x, x, x, x))
A). 11 22 11.22
B). TypeError
C). 11 ’22’ 11.22
View Answer
Correct: B
32. In Python3, Whatever you enter as input, the input() function converts it into a string
A). TRUE
B). FALSE
View Answer
Correct: A