摘要: #超市抹零price = 9.99 total = int(price) # 抹零操作 print(total) # 输出结果为9 #计算学生成绩的分差和平均分 scores = [85, 90, 92, 78, 80] avg_score = sum(scores) / len(scores) # 阅读全文
posted @ 2023-10-31 08:46 夕照~~ 阅读(25) 评论(0) 推荐(0)