6/18 - indentation


i dont get why i keep getting this error. i try to manipulate the indentation of my return but i keep getting the same result

“File “python”, line 6
return total
IndentationError: unexpected indent”

m = 5
n = 13
# Add add_function here!
def add_function(x, y):
  total = x + y
  return total
print add_function(m, n)


i would recommend to indent everything new, this should overcome the problem


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.