Skip to content

Commit

Permalink
💡 docs: add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
walterowisk committed Aug 18, 2023
1 parent 0e351c9 commit 3d68732
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
"guilherme@gmail.com": {"nome": "Guilherme", "telefone": "3333-2221"},
"giovanna@gmail.com": {"nome": "Giovanna", "telefone": "3443-2121"},
"chappie@gmail.com": {"nome": "Chappie", "telefone": "3344-9871"},
"melaine@gmail.com": {"nome": "Melaine", "telefone": "3333-7766"},
"melaine@gmail.com": {"nome": "Melaine", "telefone": "3333-7766", "extra": {"a": 1}},
}

# Acessando valores do dicionário
telefone = contatos["giovanna@gmail.com"]["telefone"] # "3443-2121"
print(telefone)

extra = contatos["melaine@gmail.com"]["extra"]["a"]
print(extra)

0 comments on commit 3d68732

Please sign in to comment.