I want to have at the end of it the keys for the dictionary organised by the values from lowest to highest value. This is needed in python 3.7.1.
Asked
Active
Viewed 22 times
-1
-
5Please provide the code you tried, and its output. – Adriano Nov 02 '18 at 00:34
-
I don't know where to begin – Calum Stevenson Nov 03 '18 at 01:21
1 Answers
-1
You can try to look for other question on stackoverflow that kinda answer your question.
I found these:
- Getting key with maximum value in dictionary?
- How do you sort a dictionary by value?
- How do I sort a list of dictionaries by a value of the dictionary?
- How do I sort a dictionary by value?
You can also try to look into the documentation of python:

Adriano
- 3,788
- 5
- 32
- 53
-
-
I am sorry for contacting you this way (my comment isnt related to your input here). I came across a question you voted on in "triage" where you made the wrong choice. Please: study the help for triage carefully, to avoid putting items into the edit queue that don't belong there. I hope you see this as a chance to improve your voting. I am specifically talking about https://stackoverflow.com/review/triage/21324850. Feel free to drop me a comment in case you have further questions or feedback for me. If you give me a short heads up, I will quickly delete this comment. – GhostCat Nov 05 '18 at 11:56