import sys MAX_INT = sys.maxsize print(MAX_INT) ''' NOTE: value of sys.maxsize is depend on the fact that how much bit a machine is. '''