Looks like your function did not print the grade: 100


#1

grades = [100, 100, 90, 40, 80, 100, 85, 70, 90, 65, 90, 85, 50.5]
def print_grades(grades):
for marks in grades:
print marks
Oops, try again. It looks like your function did not print the grade: 100.

help brother !!


Your function fails on is_prime(0)
#2

Please post a link to the exercise. It would help if your code was formatted so we could see the indentation.


#3

You need to actually call the function you defined. You define print_grades(grades) but defining it doesn't run it. You need to call print_grades(grades) below where you defined it.


#4

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