Python学习08

1.使用print输出时报错:

  Missing parentheses in call to 'print'.  ----在调用“print”时缺失了括号。

  输出代码是:

1 print 'hello world'

  因为我用的是Python3.x,Python3.x中print后面是要加括号输出,正确的代码应该是:

1 print ('hello world')

 

 

 

posted @ 2018-02-11 16:27  wentaokyle  阅读(153)  评论(0编辑  收藏  举报
其他资源可以访问我的CSDN博客