1. 程式人生 > >SyntaxError: Missing parentheses in call to 'print'. Did you mean print("hello,world")?

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")?