2025年4月13日
摘要: 03 假设商品总价为 price price = 19.87 抹零操作 rounded_price = int(price) print(f"抹零后的价格为: {rounded_price}") 打印学号后四位 print("学号后四位: 3034") 04 输入学生的三门成绩 score1 = f 阅读全文
posted @ 2025-04-13 14:36 986614 阅读(17) 评论(0) 推荐(0)
摘要: 假设商品总价为 price price = 19.87 抹零操作 rounded_price = int(price) print(f"抹零后的价格为: {rounded_price}") 打印学号后四位 print("学号后四位: 1234") 输入学生的三门成绩 score1 = float(i 阅读全文
posted @ 2025-04-13 14:30 986614 阅读(15) 评论(0) 推荐(0)