Cant figure out the error!

Keep getting this error message ,any help understanding the problem would be useful

average([3, 0]) resulted in an error: sum expected at least 1 arguments, got 0

def average(numbers):
  total=0
  sum().numbers = total
  float().total=total
  total/numbers.len()
  return total/numbers.len()

Can you give me a screenshot of the code?

Thank you but i have figured it out