[Tutor] largest and smallest numbers
Christopher Spears
cspears2002 at yahoo.com
Tue Sep 25 02:37:21 CEST 2007
One of the exercises from Core Python Programmng (2nd
Edition) asks me to determine the largest and smallest
integers, float, and complex numbers my system can
handle. Using python.org and Google, I have
discovered my system's largest and smallest ingtegers:
>>> import sys
>>> sys.maxint
2147483647
>>> -sys.maxint - 1
-2147483648
How can I find the largest float and complex numbers?
More information about the Tutor
mailing list