To remove the last element of a list, we code the list name todo, a period ., and the instruction pop().

Make sure to type pop().