>>> print "hello" SyntaxError: Missing parentheses in call to 'print'
摘要:
错误原因说你的函数print缺省圆括号,可以知道你用的python是3.x版本3.x版本的python,print中的参数要用圆括号括起来,改成:print("hello") 阅读全文
posted @ 2017-04-30 22:42 枝桠 阅读(136) 评论(0) 推荐(0) 编辑
posted @ 2017-04-30 22:42 枝桠 阅读(136) 评论(0) 推荐(0) 编辑
posted @ 2017-04-30 21:42 枝桠 阅读(323) 评论(0) 推荐(0) 编辑
posted @ 2017-04-30 19:13 枝桠 阅读(2715) 评论(0) 推荐(1) 编辑
posted @ 2017-04-30 19:07 枝桠 阅读(440) 评论(0) 推荐(0) 编辑