简单的用户交互

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.....")
原文地址:https://www.cnblogs.com/xiaobinglife/p/8830567.html