Nguyễn Hồng Yến
New member
What will be the output of the following Python code?
A. error, the minus sign shouldn’t have been inside the brackets
B. error, there is no function called isinf
C. True
D. False
Code:
print(math.isinf(float('-inf')))
B. error, there is no function called isinf
C. True
D. False