11/12 help


#1

I am on question 11 and I cant find any answers to this question and I am really stuck Can someone please help.

n = [3, 5, 7]

Add your function here

def list_extender(lst):
lst.append()
return

print list_extender(n)


#2

with the Appending, you have to put the number 9 inside of the brackets, and return lst, so like

n = [3, 5, 7]

Add your function here

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

print list_extender(n)


#3

I did that but it only returned "Oops, try again. list_extender([1, 2, 3, 4]) returned None, did you remember to return the result?"


#4

Show me your code, i might be able to find the problem.


#5

Its alright I got it now I think It must of had a bug or something.


#6

hey Abraham this is how you do it!!

n = [3, 5, 7]

Add your function here

def list_extender(1st):
1st.append(9)
return 1st
print list_extender(n)


#7

:joy_cat: thanks guys you are so nice


#8

n = [3, 5, 7]

Add your function here

def list_extender(n):
n.append(9);
return n

print list_extender(n)