Vidyalelo
Python · Q41

Module in Python

Programming · Python · question 41

Q41

What will be the output of the following Python code? print(math.isinf(float('-inf')))

A.
error, the minus sign shouldn't have been inside the brackets
B.
error, there is no function called isinf
C.
True
Answer
D.
False

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board