SyntaxError: Missing parentheses in call to 'print'. Did you mean print("hello,world")?


Python 3.7.2rc1 (tags/v3.7.2rc1:75a402a217, Dec 11 2018, 23:05:39) [MSC v.1916 64 bit (AMD64)] on win32
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("hello,world")?

 

此錯誤是因為Python 3不支持“print "000";”這個寫法了,已經給你說了,需要這樣寫:
Did you mean print("hello,world")?


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM