shoplist=['mango ','carrot ','apple ','banana ']
print ('i have to buy:',end='')
for item in shoplist:
    print(item,end='')
print('\ni have to also bue rice')
shoplist.append('rice')
print('my shop list is now',shoplist)
shoplist.sort()
print('sorted shp list is',shoplist)
print('the first is',shoplist[0])
olditem=shoplist[0]
print ('i bought',olditem)
del shoplist[0]
print ('i new shop list is',shoplist)