In this lesson, students learn various ways to remove items from an existing list with the use of the pop
and remove
methods and the del
keyword.
Students will be able to:
pop
method with no argument to remove an item from the end of a listpop
method to remove an item from a specific index in a listremove
method to remove a specific item from a listdel
keyword to remove an item from a specific index in a listThese are all the activities included in the lesson