plz help me solve this question, thanks a lot


I'm sure we can help you, though we'll need more information. Could you post your code and the error you're getting? The steps you've already tried to resolve the issue wouldn't hurt either.


def list_function(x):
(indent) x[1] = x[1] + 3
(indent) return x

n = [3, 5, 7]
print list_function(n)


I used your exact same code and it worked fine. I recommend messing around with the indents and it should be fine


This code does not work. Error messages:

Oops, try again. Your code looks a bit off. Check the console window for errors!

File "python", line 2
(indent) x[1] = x[1] + 3
IndentationError: expected an indented block