What is the type of inf?
A. Boolean
B. Integer
C. Float
D. Complex
Answer:A
What is the type of inf?
A. Boolean B. Integer C. Float D. Complex
Explanation: Infinity is a special case of floating point numbers. It can be obtained by float(‘inf’).