【PYTHON】 Missing parentheses in call to 'print'

Microsoft Windows [版本 10.0.15063]
(c) 2017 Microsoft Corporation。保留所有权利。


C:UsersJam>python
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print "你好,世界";
  File "<stdin>", line 1
    print "你好,世界";
                ^
SyntaxError: Missing parentheses in call to 'print'
>>> print "11";
  File "<stdin>", line 1
    print "11";
             ^
SyntaxError: Missing parentheses in call to 'print'
>>> print ("11");
11
>>> print ("涉及到");
涉及到
>>>

图片


原文地址:https://www.cnblogs.com/cxsabc/p/10627719.html