how could I make the function count?.. its a test marked out of 5, so if the user enters 1,1,2,2,4,5,
then the output= 2 people got 1 mark, 2 people got 2 marks and 0 got 3 marks and so on?... i dnt knw if my code is even right.. plz help
def mark():
marks=input("please enter the marks: ")
finish=raw_input("have you finished yes/no: ")
if:
finish=no
mark()
break
elif:
print " student(s) got 0 marks
student(s) got 1 marks
student(s) got 2 marks
student(s) got 3 marks
student(s) got 4 marks
student(s) got 5 marks"