格式化输出

 

name =input()
age=input()
myformat="我叫%s,年龄%s" %(name,age)
print(myformat)
View Code

 

posted @ 2019-03-29 22:00  你的就是我的  阅读(79)  评论(0)    收藏  举报