> Having trouble with a question on codecademy, under python, list and loops, question 15/19. Can anyone help with this?

Having trouble with a question on codecademy, under python, list and loops, question 15/19. Can anyone help with this?

Posted at: 2014-12-18 
honor_roll_count = 0

student_grades = ["A", "C", "B", "B", "C", "A", "F", "B", "B", "B", "C", "A"]

for grade in student_grades:

....if grade=="A" or grade=="B":

.... ....honor_roll_count += 1



print "Number of students who got 'A' or 'B' is",honor_roll_count

#Note: I've used "...." to indicate tabs, which Y! Answers removes

heres the instructions to the question.

Your job:

Use a for loop to count how many students got an "A" or "B" in the student_grades list. Keep track of that count using the honor_roll_count variable.

Then, print honor_roll_count.

Remember to print outside the for loop, after the looping is done!

heres the givin information.

honor_roll_count = 0

student_grades = ["A", "C", "B", "B", "C", "A", "F", "B", "B", "B", "C", "A"]