简体   繁体   English

为什么我的打印语句(python)在我的 python 3.4.3 shell 中工作,而不是在线编译器? 是因为版本不同吗?

[英]Why does my print statement(python) work in my python 3.4.3 shell, but not the online compiler? Is it because it's a different version?

print('OK! What would you like to know about? (Choose from ',end='')

This is the only part of my code that is not functioning when I compile it online(I am using Ideone).这是我在线编译时唯一无法运行的代码部分(我使用的是 Ideone)。 It works fine on my python 3.4.3.它在我的 python 3.4.3 上运行良好。 shell.贝壳。 Is it a format problem?是格式问题吗?

Ideone选择语言时,选择python 3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM