Monthly Archives: June 2017

INT_MAX and INT_MIN in Python

https://stackoverflow.com/questions/7604966/maximum-and-minimum-values-for-ints In Python 2.x, one can use sys.maxint In Python 3.x, it is sys.maxsize Use float float(‘inf’) float(‘-inf’)

Posted in Uncategorized | Leave a comment