Microsoft Windows [版本 6.1.7601]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。
C:\Users\HuangJian>python
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> 100-20
80
>>> exit<>
? File "<stdin>", line 1
? ? exit<>
? ? ? ? ?^
SyntaxError: invalid syntax
>>>
這是啥情況?
2016-01-18
還是跟我一樣的問題,>>> exit<>用擴號()代替<>解決了
2016-01-08
代碼輸入錯誤,你用的是新版本用()代替<>就可以了