You are the class representative and your class advisor always requests your help to prepare the result analysis after each internal assessment. One of the tasks that your class advisor has assigned to you is to find whether a student has scored a 0 in a course.Given the scores of the 'n' students in the class, write a python program to find whether how many students have scored a zero in a course. Use arrays to store the marks of the students and assume that the maximum number of students in a class is 50.
Answers
Answered by
1
marks = [marks of students]
number_of_people = 0
for values in marks:
if values== 0:
number_of_people = number_of_people + 1
print(number_of_people)
pls mark me as brainliest
Similar questions