Part of the whole


hi actually i'm very disappointed because i'm almost didn't answer any thing correctly without your help and now i'm having another problem with this code


Hi you should indent the return statement like the for loop.


can't understand this correctly please explain


can you post your code?


thanks alot for your care i have finished this course and now i'm building a battle ship game :slight_smile:


def get_letter_grade(score):
if score >=90:
return "A"
elif score >=80:
return "B"
elif score >=70:
return "C"
elif score >=60:
return "D"
return "F"
print get_letter_grade(get_average(lloyd))
def get_class_average(students):
for student in students:
return average[results]

is this right


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