Print those grades!


grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5]

def print_grades(grades):

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

Oops, try again. Did you create a function called print_grades?...Help!
Kindly write the full code then explain...


Is it maybe because you spelt grades wrong? You wrote "gardes" which should be grades.



The function does the printing, so we don't have to print the return value (which will be, None).



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