#This is my shopping list
shoplist=['apple','mange','carrot','banana']
print 'These items are:',
for item in shoplist:
	print item,
print '\nI also have to buy rice.'
shoplist.append('rice')
print 'My shopping list is now', shoplist

print 'I will sort my list now'
shoplist.sort()
print 'Sorted shopping list is', shoplist

print 'The first item I will buy is ',shoplist[0]
olditem = shoplist[0]
del shoplist[0]
print 'I bought the ', olditem
print 'My shopping list is now ',shoplist

print 'Done'

2729e8514a968a691aee045c69c845b29d39f1b7
#This is my shopping list
shoplist=['apple','mange','carrot','banana']
print 'These items are:',
for item in shoplist:
	print item,
print '\nI also have to buy rice.'
shoplist.append('rice')
print 'My shopping list is now', shoplist

print 'I will sort my list now'
shoplist.sort()
print 'Sorted shopping list is', shoplist

print 'The first item I will buy is ',shoplist[0]
olditem = shoplist[0]
del shoplist[0]
print 'I bought the ', olditem
print 'My shopping list is now ',shoplist

print 'Done'
