3. append to a list


#1


https://www.codecademy.com/courses/python-beginner-nzzVa/0/3?curriculum_id=4f89dab3d788890003000096#

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


#2

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


#3

OMG, it works. Thank you so much!