2014-11-06 32 views

回答

0

你使用Python 3嗎?如果是這樣,print是一個函數,當你調用它時總是需要括號。例如:

print(p) 
+1

更多信息:https://docs.python.org/release/3.0.1/whatsnew/3.0.html#print-is-a-function – rosshamish 2014-11-06 04:48:45

相關問題