输入学生的成绩,保存到列表 ,输出不及格的人数
l=[] cnt=0 for i in range(5): a=eval(input()) if a<60: cnt+=1 l.append(a) print('不及格人数:',cnt)