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