What's Wrong?


#1

n = [3, 5, 7]

Add your function here

def list_extender(lst):
lst.append(9)
return n
print list_extender(n)


#2

It seems to be working. try again this way..

n = [3, 5, 7]
def list_extender(lst):
lst.append(9)
return n
print (list_extender(n))


#3

It still has the syntax error:
File "python", line 4
SyntaxError: 'return' outside function