题解 | #格式化输出(一)# python的三种格式化方式
格式化输出(一)
https://www.nowcoder.com/practice/fe82dc48f4f04b2397a85fb1bdbe34a2
name = input('')
age = 18
print(f'I am {name} and I am studying Python in Nowcoder!')
# print(f'I am {name} ,age is {age} and I am studying Python in Nowcoder!')
# print('I am {},age is {} and I am studying Python in Nowcoder!'.format(name,age))
# print('I am %s ,age is %d and I am studying Python in Nowcoder!'%(name,age))
