Write a Python program to determine the largest and smallest integers, longs, and floats.

Write a Python program to determine the largest and smallest integers, longs, and floats.

1
2
3
4
5
import sys
print("Float value information: ",sys.float_info)
print("\nInteger value information: ",sys.int_info)
print("\nMaximum size of an integer: ",sys.maxsize) 
        

Final output

Leave a Comment