What will be the output of the following Python code?
print(math.isinf(float('-inf')))
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

Join The Discussion