1 list = ['larry', 'curly', 'moe']
2 list.append('shemp') ## append elem at end
3 list.insert(0, 'xxx') ## insert elem at index 0
4 list.extend(['yyy', 'zzz']) ## add list of elems at end
5 print list ## ['xxx', 'larry', 'curly', 'moe', 'shemp', 'yyy', 'zzz']
6 print list.index('curly') ## 2
7
8 list.remove('curly') ## search and remove that element
9 list.pop(1) ## removes and returns 'larry'
10 print list ## ['xxx', 'moe', 'shemp', 'yyy', 'zzz']
1#makes an empty list
2List = []
3
4#appends "exaple" to that list
5List.append(example)
6
7#removes "example" from that list
8List.remove(example)