02年的玩儿
Python 2.1.2 (#31, Jan 15 2002, 17:28:11) on win32Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> print "Hello Python2.1"
Hello Python2.1
>>> 9999999*9999999999999999999999999
OverflowError: integer literal too large
>>> 9*9
81
>>> 123456789*123456789
Traceback (most recent call last):
File "<pyshell#3>", line 1, in ?
123456789*123456789
OverflowError: integer multiplication
>>> 123345*123345
Traceback (most recent call last):
File "<pyshell#4>", line 1, in ?
123345*123345
OverflowError: integer multiplication
>>> 1234*1234
1522756
>>> 99999*99999
Traceback (most recent call last):
File "<pyshell#6>", line 1, in ?
99999*99999
OverflowError: integer multiplication
>>> 9999*9999
99980001
>>>
页:
[1]