
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to find the value closest to positive infinity in Python?
Although infinity doesn't have a concrete representation, the closest number to infinity is represented as return value of float() function with 'inf' as argument
>>> a=float('inf') >>> a inf
Advertisements