Posted on 23rd July 2024|19 views
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 23rd July 2024| views
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’)