Question
Write a function to display students results.(python code) Following requirements must be fulfilled: i. Read the names and marks of at least 5 students, data
Write a function to display students results.(python code)
Following requirements must be fulfilled:
i. Read the names and marks of at least 5 students, data should be acquired from the user and saved as dictionary (using a function named getdata)
ii. Rank the top three students with highest marks (make a function named rankstudents)
iii. Give cash rewards. Rs. 5000 for first rank, Rs. 3000 for second rank, Rs. 1000 for third rank. Value cannot be modified (function name should be cashreward)
iv. Appreciate students who secured top 3 positions (function name appreciationmessage)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started