摘要: 运行超市抹零结账行为 代码如下: 1 print("3107") 2 money = 39.87 + 24.47 + 78.07 #计算总金额 3 money_str = str(money) 4 print("商品总金额:" + money_str) 5 print("实收金额:{:.0f}".f 阅读全文
posted @ 2023-10-31 18:08 我要变富婆 阅读(25) 评论(0) 推荐(0)