How do I sort a dictionary by value

0 votes
I've created a dictionary of values from two database fields: a string field and a numeric field. Because the string field is unique, it is the dictionary's key.

I know how to sort by keys, but how do I sort by values?
May 9, 2022 in Python by Edureka
• 13,620 points

edited Mar 4 108 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP