Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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 C

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago