学无止境,永无止步!

python中为什么输入print 'hello world'提示错误命令

上一篇 / 下一篇  2012-06-27 10:57:53 / 个人分类:python入门

python中为什么输入print 'hello world'提示错误命令?
3.0以上print是函数,需要加括号,应为print (“hello world!”)

TAG:

 

评分:0

我来说两句

日历

« 2024-05-09  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 26214
  • 日志数: 8
  • 建立时间: 2011-12-22
  • 更新时间: 2012-10-15

RSS订阅

Open Toolbar