慕盖茨7031404
2020-09-06 15:47
print('hello', 'python') #==> ('hello', 'python')
print('hello') #==> hello
我觉得这是imooc的IDE本身的问题,我在命令行和python的编辑器中尝试了之后,print('hello', 'python') 打印出来的就是hello,python
让我来告诉你为啥,因为imooc的测试python环境是2.0系列版本的,而他的代码是按照python3.0系列版本的特性来写的。
print('hello'+','+'python') #==>hello,python
Python3 入门教程
164931 学习 · 1136 问题
相似问题