Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in python Write a program that computes the average of 5 scores that enter by the users; the program must meet the following requirements: 1.
in python
Write a program that computes the average of 5 scores that enter by the users; the program must meet the following requirements: 1. Write a function named calc_average that returns an average of 5 scores. 2. Write a function named select_grade that receives a numeric grade and returns the corresponding letter grade as following: 90 and up = A 80 and up = B 70 and up = C 60 and up =D 59 and below = F. 3. Use these functions to compute the result and print it on the screen as follows: . Enter score 1: 90 Enter score 2: 80 Enter score 3: 70 Enter score 4: 60 Enter score 5: 59 Score numeric grade letter grade score 1: score 2: score 3: score 4: score 5: 90.0 80.0 70.0 60.0 59.0 Average score: 71.8 CStep 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