Oops, try again. total([0, 3, 6]) returned 0 instead of 9
If i remove the indentation on line 7 i know this will work. I figured that out through trial and error. Can someone explain what the difference is by un-indenting 'return'?
n = [3, 5, 7] def total(numbers): result = 0 for X in numbers: result += X return result