发布时间:2019-09-08 09:12:35编辑:auto阅读(2006)
>>> print 'hello world' SyntaxError: invalid syntax
在3.3.2版本中print函数改了用法,改为print ('hello world')了。
>>> print ('hello world')
hello world
上一篇: [python] 解决OSError:
下一篇: Python 中的 pdb 模块
51346
50809
41402
38203
32693
29585
28417
23302
23258
21590
1667°
2400°
2007°
1943°
2275°
1973°
2678°
4480°
4307°
3071°