09 2021 档案
摘要:# 03 模拟超市结账行为money_all = 56.75 + 72.91 + 88.50 + 26.37 + 68.51money_all_str = str(money_all)print("商品总金额为:"+money_all_str)money_real = int(money_all)m
阅读全文
摘要:print("请输入父亲的身高:")father_height=input()print("请输入母亲的身高:")mother_height=input()son_height=(float(father_height)+float(mother_height))*0.54print("预测儿子身高
阅读全文
摘要:print("欢迎使用XXX充值业务,请输入充值金额:")jiage=input()print("充值成功,您本次充值"+ str(jiage)+ "元")
阅读全文
摘要:print("请输入当天行走步数!")bushu=input()kaluli=int(bushu)*28print("今天消耗卡路里:"+ str(kaluli) +" (即 " + str(kaluli/1000)+ " 千卡)")
阅读全文
摘要:print(" * * * * *")print(" * *")print("* @ @ *")print("* *")print("* @ *")print("* *")print(" * *")print(" * *")print(" * * * * *3139")
阅读全文