Examveda

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

D. False

Answer: Option C


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python