L = ['spam', 'Spam', 'SPAM!']print LL[0:2] = ['eat', 'more'] # slice assignment: delete+insertprint L # replaces items 0,1