发布时间:2019-09-08 09:12:35编辑:auto阅读(1864)
>>> print 'hello world' SyntaxError: invalid syntax
在3.3.2版本中print函数改了用法,改为print ('hello world')了。
>>> print ('hello world') hello world
上一篇: [python] 解决OSError:
下一篇: Python 中的 pdb 模块
48948
48076
38822
35942
30362
27148
26145
20980
20807
19158
699°
772°
747°
752°
730°
680°
792°
864°
1003°
1260°