I don’t quite understand what I have done wrong. I have used the float function just like in the example.
Here is the error message: File “python”, line 23
SyntaxError: can’t assign to function call
def average(numbers): total = sum(numbers) float(total) = total return total / numbers.len()
What am I doing wrong?