Skip to content

Instantly share code, notes, and snippets.

@raelmax
Created August 23, 2011 13:31
Show Gist options
  • Save raelmax/1165119 to your computer and use it in GitHub Desktop.
Save raelmax/1165119 to your computer and use it in GitHub Desktop.
Dicionário da lista - Lista PythonBrasil
>>> lista = [{"pear": "fish", "apple": "cat", "banana": "dog"}]
>>> dicionario = lista[0]
>>> dicionario
{'pear': 'fish', 'apple': 'cat', 'banana': 'dog'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment