Lists are mutable: their contents can change after creation. Assign to an existing index to replace an item; append adds one item at the end. A method is a function called on a value using dot notation.
queue = ["Ada", "Bo"]
queue[1] = "Cleo"
queue.append("Dara")
removed = queue.pop(0)
print(removed)
print(queue)
Ada
['Cleo', 'Dara']
pop(0) removes and returns the item at index 0. Without an argument, pop() removes and returns the last item; popping an empty list or an invalid index raises IndexError. del queue[0] removes an item without returning it, and del queue[1:3] removes a slice. The remaining items shift to close the gap.
Assignment to another name does not copy a list. Both names refer to the same object:
original = ["red", "blue"]
alias = original
copy = original[:]
alias.append("green")
print(original)
print(copy)
['red', 'blue', 'green']
['red', 'blue']
The slice creates a shallow copy: the outer list is new, but any nested mutable items are still shared. append changes the list in place and returns None; do not assign its return value as the updated list.