Hi to all:
I'm a little boring whit the practices so want to introduce string data on my backpack code for delete that input... so I'm tried something like the below... but is wrong
backpack = ['xylophone', 'dagger', 'tent', 'bread loaf'] print 'Backpack list: ' print backpack DELETE = raw_input('Select from the list which element want to delete?')) backpack.remove(DELETE) print 'NEW Backpack list: ' print backpack
How can I insert information... for then delete.?