Post
Python
How to find max integer in python?
I am very new to Python I just wanted to know like java's Integer.Min_value, and Integer.Max_value are there any functions in Python to identify the smallest and largest integers?
Posted on 24th April 2024
If you want a function to know the largest number, then use
float('inf')
Nd if you want to know the smallest number then use
float('-inf’)
STILL GOT QUERIES?