Created
March 19, 2018 14:54
-
-
Save Fhernd/a6a7d7b43db0875bd00c155582d8bd20 to your computer and use it in GitHub Desktop.
OrtizOL. Diccionario ordenado. Python.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import OrderedDict | |
dic_recetas = OrderedDict() | |
dic_recetas['C#'] = 1 | |
dic_recetas['Python'] = 2 | |
dic_recetas['LINQ'] = 3 | |
dic_recetas['JavaScript'] = 4 | |
for key in dic_recetas: | |
print(key, dic_recetas[key]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment