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

What will be the output of the following Python code?
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
 

Tìm kiếm

Back
Top