- Joined
- Jan 23, 2017
- Posts
- 1,552
- Solutions
- 2
- Reaction
- 460
- Points
- 673
- Age
- 23
#.sort()the item in the list stored under the 'backpack' key.
inventory = {
'gold' : 500,
'pouch' : ['flint','twine','gemstone'],
'backpack' : ['xylophone','dagger','bedroll','bread loaf']
}
inventory = {
'gold' : 500,
'pouch' : ['flint','twine','gemstone'],
'backpack' : ['xylophone','dagger','bedroll','bread loaf']
}
Last edited: