solve this problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

solve this problem

Given a dictionary with 5 student names and their marks. Write a program that prints the dictionary contents in the ascending order of marks.

18th Jan 2020, 3:03 AM
Prashant Yadav
Prashant Yadav - avatar
7 Answers
+ 3
Your attempt ?
18th Jan 2020, 3:04 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 3
I have seen this question before and I believe it was marked as homework or laziness but if in fact it is a challenge then please post it to this thread https://www.sololearn.com/Discuss/1270852/?ref=app and remove your q&a discussion
18th Jan 2020, 5:07 AM
BroFar
BroFar - avatar
0
What is input exactly ?
18th Jan 2020, 3:28 AM
Mark Emad
Mark Emad - avatar
0
We need your attempt to help you as well
18th Jan 2020, 3:52 AM
{P~A} Programmation Addict
{P~A} Programmation Addict - avatar
0
list=[“John”:89,”skill”:56,”Simon”:77,”Soti”:3] print() how order this list by marks in ascending order Laaunos
18th Jan 2020, 1:53 PM
Prashant Yadav
Prashant Yadav - avatar
0
It has to be in phyton? Because I think I can do it in C, I haven't learned phyton yet.
19th Jan 2020, 8:31 AM
LastSecond959
LastSecond959 - avatar
0
Prashant Yadav You showed a mix between list and dictionary. I recomment to repeat the following lessons: Lists https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2431/ Dictionarys https://www.sololearn.com/learn/Python/2450/ Next, you take a look on dictionary methods. There are very useful methods, like dict.keys() dict.values() dict.items() You can do this!
19th Jan 2020, 6:39 PM
Sven_m
Sven_m - avatar