Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
114050 | 汤奕硕 | 输出不及格学生的成绩 | Python3 | Accepted | 35 MS | 3768 KB | 421 | 2025-03-19 18:46:57 |
# 读取三个学生的成绩 students = [] for _ in range(3): scores = list(map(int, input().split())) students.append(scores) # 检查每个学生是否有不及格的课程 for student in students: if any(score < 60 for score in student): # 输出该学生的所有成绩,每个后面加空格 for score in student: print(score, end=' ') print() # 换行