5. It's Okay to be Average
Error Message: average([3, 0]) resulted in an error: global name 'total' is not defined
Not sure what this error message means. My code is below. Thank you!
Replace this line with your code. def average(numbers): total = sum(numbers) total = float(total) result = total / len(numbers) return result