发布时间:2019-09-08 09:12:35编辑:auto阅读(2027)
>>> print 'hello world' SyntaxError: invalid syntax
在3.3.2版本中print函数改了用法,改为print ('hello world')了。
>>> print ('hello world')
hello world
上一篇: [python] 解决OSError:
下一篇: Python 中的 pdb 模块
51565
51145
41663
38420
32905
29880
28599
23559
23492
21837
1987°
2695°
2261°
2186°
2637°
2202°
2949°
4884°
4716°
3357°