发布时间:2019-09-08 09:12:35编辑:auto阅读(2431)
>>> print 'hello world' SyntaxError: invalid syntax
在3.3.2版本中print函数改了用法,改为print ('hello world')了。
>>> print ('hello world')
hello world
上一篇: [python] 解决OSError:
下一篇: Python 中的 pdb 模块
54464
41241
35780
31305
26214
25924
24432
19982
16006
15445
2344°
2140°
2228°
2362°
2318°
2525°
2474°
2291°
2367°
2339°