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