#2 print thosegrades


#1



What am I doing wrong?


Oops, try again. It looks like your function did not print the grade: 100.


def print_grades(grades):
    for grade in grades:
    
        print grade


#2

the function call (step 3 of the instructions) is missing:

def print_grades(grades):
    for grade in grades:
    
        print grade

#add function call here

#3

my new code works now but I don't understand, why two print lines
def print_grades(grades):
for grade in grades:
print grade
print_grades(grades)


#4

there is only one print line?


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.