year = input("请输入您的出生年份:")
print("到了2030年,您的年龄是:", 2030-year)
可以计算出2030年时的年龄。
微信小程序
微信扫一扫体验
微信公众账号
微信扫一扫加关注
发表评论 取消回复