Skip to content

Instantly share code, notes, and snippets.

@Gwith
Created August 8, 2016 20:35
Show Gist options
  • Select an option

  • Save Gwith/a8fb9f812437d739f53bd9c5ef4f66a8 to your computer and use it in GitHub Desktop.

Select an option

Save Gwith/a8fb9f812437d739f53bd9c5ef4f66a8 to your computer and use it in GitHub Desktop.
def add_to_inventory(inventory,):
inventory['banana'] = 'phone'
inv = {}
dragonLoot = ['gold coin','dagger','gold coin','gold coin','ruby']
print(add_to_inventory(inv, dragonLoot))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment