发布时间:2019-09-08 09:12:35编辑:auto阅读(2503)
>>> print 'hello world' SyntaxError: invalid syntax
在3.3.2版本中print函数改了用法,改为print ('hello world')了。
>>> print ('hello world')
hello world
上一篇: [python] 解决OSError:
下一篇: Python 中的 pdb 模块
54945
41738
36324
31763
26659
26347
24874
20483
16421
15839
2964°
2696°
2797°
2940°
2873°
3136°
3029°
2876°
2865°
2841°