小编Win*_*ing的帖子

Python中不需要的空间

name = raw_input ("What's your name? ")
print "Hello",name, "!"
Run Code Online (Sandbox Code Playgroud)

它返回以下内容:

What's your name? John
Hello John !
Run Code Online (Sandbox Code Playgroud)

我怎样做到这样John和John之间的空间!没出现?

顺便说一下,这是在Python-2.7中

python python-2.7

2
推荐指数
1
解决办法
74
查看次数

标签 统计

python ×1

python-2.7 ×1