简单的用户交互

date_age = 100
name = input("your name:")
age = input("your age:")

age1=date_age-int(age)

#print("you can still live for ",age1,"years.....")
print("you can still live for "+str(age1)+"years.....")
posted @ 2018-04-14 10:22  不解释丨Python  阅读(109)  评论(0编辑  收藏  举报