Read the names and total marks scored by students of your class of at least 3 or more students
Rank the top 3 students of your class
Provide a cash reward of $500 to the student who secured first rank, $300 to the student who secured second rank and $100 to the student who secured third rank. The value of a cash reward cannot be modified.
Make a statement of appreciation to the students who secured 950 marks and above.
Use a dictionary to map the names of students against the marks
Sort the dictionary by marks to have the highest marks at the beginning (Google search how to sort a dictionary by value)
Use a tuple to store the cash rewards since they cannot modified