Q.

What is the type of inf?

A. boolean
B. integer
C. float
D. complex
Answer» C. float
Explanation: infinity is a special case of floating point numbers. it can be obtained by float(‘inf’).
2.1k
0
Do you find this helpful?
2

Discussion

No comments yet