Feb-08-2019, 03:27 PM
Can somebody help with this question?
Given the dictionary, medals, sort it by the medal count. Save the three countries with the highest medal count to the list, top_three.
Thanks
Given the dictionary, medals, sort it by the medal count. Save the three countries with the highest medal count to the list, top_three.
medals = {'Japan':41, 'Russia':56, 'South Korea':21, 'United States':121, 'Germany':42, 'China':70}This question may seem very easy to many of you, but i'm curious how you approach it.
Thanks