我需要在同一行而不是下面(这是一个新行)打印一个输入。有人可以修复我的代码吗?

I need to print an input on the same line and not below (which is a new line). Can someone fix my code?

我需要这样的输出:

输入玩家姓名:Mark

标记,选择一列:2

这是我的代码:

玩家 = raw_input("Enter player name: ")

打印播放器,",选择一列:"; column = int(input())

这是我的代码的输出:

输入玩家姓名:Mark

标记,选择一列:

2

有人可以帮我修复我的代码吗? 顺便说一下,我正在使用 python 2.7.6

column = int(input(player+ ", choose a column: ")) 我想你可以这样做