Could someone tell me how to fix it


#1

n = [3, 5, 7]

def total(numbers):
result =0
for x in range(len(numbers)):
result += numbers[x]
return result
     print total(n)

File "python", line 4
result =0
^
IndentationError: expected an indented block


#2

The statements that are a part of total function need to be indented four spaces to the right.

Identify which statements (there are four) are a part of total and indent them. And also de-indent the print statement, move it four spaces to the left.