摘要: 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)money_real_str=str(money_rea 阅读全文
posted @ 2021-09-13 23:59 百事可rina 阅读(18) 评论(0) 推荐(0)
摘要: print("\n手机店正在打折,活动进行……")strWeek=input("请输入中文星期(如星期一):")intTime=int(input("请输入时间中的小时(范围:0~23):"))if(strWeek=="星期二"and (intTime>=10 and intTime<=11))or 阅读全文
posted @ 2021-09-13 23:55 百事可rina 阅读(64) 评论(0) 推荐(0)
摘要: python=95english=92c=89print("python="+str(python)+"english"+str(english)+"c="+str(c)+"\n")print("python<english的结果:"+str(python<english))print("pytho 阅读全文
posted @ 2021-09-13 23:41 百事可rina 阅读(47) 评论(0) 推荐(0)
摘要: python=95english=92c=89sub=python-cavg=(python+english+c)/3print("Python课程和C语言课程的分数之差: "+str(sub)+" 分/n")print("3门课的平均分: "+str(avg)+"分") 阅读全文
posted @ 2021-09-13 23:28 百事可rina 阅读(454) 评论(0) 推荐(0)
摘要: 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)money_real_str=str(money_rea 阅读全文
posted @ 2021-09-13 23:19 百事可rina 阅读(53) 评论(0) 推荐(0)