11/18 Help please?


#1

n = [3, 5, 7]

Add your function here

def list_extender(lst):
lst.append[9]
return lst

print list_extender(n)

Gives this error:
Traceback (most recent call last):
File "python", line 7, in
File "python", line 4, in list_extender
TypeError: 'builtin_function_or_method' object has no attribute 'getitem'


#2

lst.append(9) not []