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

IIS HTTP Error 403.18

 HTTP Error 403.18 - Forbidden The specified request cannot be processed in the application pool that is configured for this resource on the...