# Dicionário:
dicionario = {1: "a", 2: "b", 3: "c"}
# Gera a lista com os índices:
indices = list(dicionario.keys())
# Ordena a lista de índices em ordem reversa:
indices = reversed(indices)
# Percorre a lista de índices, acessando a respectiva posição:
for indice in indices:
print(dicionario[indice])
IyBEaWNpb27DoXJpbzoKZGljaW9uYXJpbyA9IHsxOiAiYSIsIDI6ICJiIiwgMzogImMifQoKIyBHZXJhIGEgbGlzdGEgY29tIG9zIMOtbmRpY2VzOgppbmRpY2VzID0gbGlzdChkaWNpb25hcmlvLmtleXMoKSkKCiMgT3JkZW5hIGEgbGlzdGEgZGUgw61uZGljZXMgZW0gb3JkZW0gcmV2ZXJzYToKaW5kaWNlcyA9IHJldmVyc2VkKGluZGljZXMpCgojIFBlcmNvcnJlIGEgbGlzdGEgZGUgw61uZGljZXMsIGFjZXNzYW5kbyBhIHJlc3BlY3RpdmEgcG9zacOnw6NvOgpmb3IgaW5kaWNlIGluIGluZGljZXM6CiAgICBwcmludChkaWNpb25hcmlvW2luZGljZV0p