I am new to python and I am just beginning to learn the syntax. I would like to create a map (like in java but I understand that they may be called something else in python) so I would assume the code might look something like this
map = {}
map.append("somestring": 12)
map.append("anotherstring": 10)
map.append("yetanotherstring": 15)
'''
then organize the map by the numbers from largest to smallest
so if I were to then run through the map with a for loop it would
print
"yetanotherString" : 15
"somestring" : 12
"anotherstring" : 10
'''
I am clueless In almost every step of this process from declaring a "map" to organizing it by the ints. Though organizing it by the ints is my biggest problem.