使用语言Python3 格式一: name = input() print('I am {0} and I am studying Python in Nowcoder!'.format(name)) 格式二: name = input() print('I am %s and I am studying Python in Nowcoder!'%(name))