3. append to a list



Oops, try again.
Did you remember to use the .append() function in your code?

Append the number 4 to the end of the list n.

n = [1, 3, 5]
# Append the number 4 here
n. append(4)
print n


Hi remove the sspace between n. and append(4)


OMG, it works. Thank you so much!