摘要: python = 95english = 92c = 89sub = python - cavg = (python + english + c) / 3print("Python课程和C语言课程的分数之差:"+str(sub)+"分\n")print("三门课程的平均分:"+str(avg)+"分 阅读全文
posted @ 2021-09-14 23:30 Binnie 阅读(321) 评论(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_s 阅读全文
posted @ 2021-09-14 23:29 Binnie 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 运行代码: print(" * * * * * \n * * \n* @ @ *\n* *\n* @ *\n* *\n * * \n * * \n * * * * * ") 运行结果: 学号:2020310143041 昵称:Binnie 阅读全文
posted @ 2021-09-05 10:59 Binnie 阅读(34) 评论(0) 推荐(0) 编辑