create a list
cast = [‘Cleese’, ‘Palin’, ‘Jones’, ‘Idle’]
length
len(cast)
access
cast[1]
append
cast.append(‘Gilliam’)
pop
cast.pop()
‘Gilliam’
extend
cast.extend([‘Gilliam’, ‘Chapman’])
remove a specific data item
cast.remove(‘Chapman’)
insert
cast.insert(0, ‘Chapman’)
iterate over your list
for i in L:
print i