print "hello" SyntaxError: Missing parentheses in call to 'print'
2015-10-07 10:10
531 查看
问题:
print "hello" SyntaxError: Missing parentheses in call to 'print'
解决:
python3取消了这种用法。使用 print('hello"),这种来输出。
python3 语法 和 python2 已经变得有些差别了。
python3中,去除了print语句,加入print()函数实现相同的功能。
备注:parentheses :parenthesis的名词复数, 圆括号,插入语,插曲;
print "hello" SyntaxError: Missing parentheses in call to 'print'
解决:
python3取消了这种用法。使用 print('hello"),这种来输出。
python3 语法 和 python2 已经变得有些差别了。
python3中,去除了print语句,加入print()函数实现相同的功能。
备注:parentheses :parenthesis的名词复数, 圆括号,插入语,插曲;
相关文章推荐
- 解决ECLIPSE 卡死的方法
- ubuntu安装libvirt
- 【Python】Learn Python the hard way, ex9 换行符,打印多行字符
- vs2015 打不开了 提示"CSharpPackage"
- C++基础知识:c 函数调用过程原理及函数栈帧分析
- 从此不再惧怕URI编码:JavaScript及C# URI编码详解
- eclipse容易卡死或者较慢的解决方案
- TELPAD MT7 User Manual
- 【转】 slam 优化包g2o 学习
- iOS学习之查看图片某点的ARGB
- linux系统下apt-get指令的使用
- Connection Timeout和Command Timeout
- 960.gs
- C#中==与equal的区别
- Mongodb开启与关闭
- VS 2008配置Winpcap环境
- String,StringBuffer与StringBuilder的区别
- ZH奶酪:PHP 执行时间Fatal error: Maximum execution time of...
- Python的Set和List的性能比较 + 两者之间的转换
- 安装CloudStack数据库时明明密码输对了,却提示错误的情况