Sunday 19 April 2020

Python ErrorMessage: SyntaxError: Missing parentheses in call to 'print'. Did you mean print(currency)

print currency
                 ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(currency)?



提醒使用者,print要加括弧,例如: print (currency)

No comments:

Post a Comment

找不到匯入的專案  請確認 <Import> 宣告中的路徑正確,而且檔案存在於磁碟上。

【Problem】  C:\inetpub\wwwroot\project\project.csproj : error  : 找不到匯入的專案 "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\W...