I got this error and no clue what was it
"Oops, try again. get_class_average([alice]) resulted in an error: 'float' object has no attribute 'append'."
My earlier code was
def get_class_average(students): results =  for student in students: results = get_average(student) results.append(get_average(student)) ##OR## results.append(results) return average(results)
and I changed it to "results.append(get_average(student))" and is working fine.
what is the difference. can anyone help?