Programming (Year 11)
Lists
What does the following code snippet do: 'x = [1, 2, 3]; x.append(4)'?
Adds 4 to the beginning of the list
Removes 4 from the list
Adds 4 to the end of the list
Sets x to 4