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

Python2.x與3​​.x的區別之「print」 正如錯誤提醒的那樣: Missing parentheses in call to ‘print’. Did you mean print(‘xxxxx’); 在Python3.x之中print語句沒有了,取而代之的是print()函數。php #!/usr/bin/python # -*- coding: UTF-8 -*- flag = F
相關文章
相關標籤/搜索