McqMate
| 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’). | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet