题解 | #格式化输出(一)#
格式化输出(一)
http://www.nowcoder.com/practice/fe82dc48f4f04b2397a85fb1bdbe34a2
使用语言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))