Okay, so the exercise tells to create the function average. And ithe instructions say:

"0.2 Inside that function, call the built-in sum() function with the numbers list as a parameter. Store the result in a variable called total."

So far okay, i just need to make the following def:

def average(numbers):

total = sum(numbers)

But i got confused with instruction 0.3: "Like the example above, use float() to convert total and store the result in total.". Do i just need to use float(total), and then divide it by len(numbers)?

Here is the current function i'm using:

def average(numbers):

total = sum(numbers)

float(total)

total/len(numbers)

And it returns the error "Oops, try again. average([3, 0]) returned None instead of 1.5 as expected.""

Help please, and thanks in advance.