发布时间:2019-09-08 09:12:35编辑:auto阅读(2001)
>>> print 'hello world' SyntaxError: invalid syntax
在3.3.2版本中print函数改了用法,改为print ('hello world')了。
>>> print ('hello world')
hello world
上一篇: [python] 解决OSError:
下一篇: Python 中的 pdb 模块
51284
50736
41334
38144
32611
29514
28364
23233
23201
21526
1597°
2329°
1931°
1873°
2201°
1914°
2601°
4369°
4215°
2992°