How can I sort a dictionary that has string as it's key and an int as it's value by it's value?

I want to have a dictionary that counts how many times a word appears in a string and i want to have the most frequent words first.

asked 3 mins ago

IdoSC's user avatar

New contributor

IdoSC is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Sign up or log in

Sign up using Google

Sign up using Email and Password

Post as a guest

Name

Email

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.