1myList.remove(item) # Removes first instance of "item" from myList
2myList.pop(i) # Removes and returns item at myList[i]
1# animals list
2animals = ['cat', 'dog', 'dog', 'guinea pig', 'dog']
3
4# 'dog' is removed
5animals.remove('dog')
6
7# Updated animals list
8print('Updated animals list: ', animals)
1myList = ['Item', 'Item', 'Delete Me!', 'Item']
2
3del myList[2] # myList now equals ['Item', 'Item', 'Item']
1# animals list
2animals = ['cat', 'dog', 'rabbit', 'guinea pig']
3
4# 'rabbit' is removed
5animals.remove('rabbit')
6
7# Updated animals List
8print('Updated animals list: ', animals)