int vs long

jay jyoung79 at kc.rr.com
Sat Jun 2 22:30:15 EDT 2007


I was reading in a book that the 'int' type can store whole numbers  
up to 32 bits.  I'm not exactly sure what that means, but got me  
wondering, what's the largest number you can store as an 'int' before  
you need to switch over to 'long'?

Thanks for looking at my question.

Jay



More information about the Python-list mailing list