question:the example out put need to be like this:The Test Scores ProgramEnter “x” to exitEnter test score: 75Enter test score: 85Enter test score: 95Enter test score: xTotal: 255Number of Scores: 3Average Score: 85Low Score: 75High Score: 95Median Score: 85And I already have this in the program. How to write the function for Low/High/ and Median Score. Can someone help me?def display_welcome():print(“The Test Scores program”)print(“Enter ‘x’ to exit”)print(“”)def get_scores():score_total = 0counter = 0while True:score = input(“Enter test score: “)if score == “x”:return score_total, counterelse:score = int(score)if score >= 0 and score <= 100:score_total += scorecounter += 1else:print("Test score must be from 0 through 100. " +"Score discarded. Try again.")def process_scores(score_total, count):# calculate average scoreaverage = score_total / count# format and display the resultprint()print("Score total: ", score_total)print("Number of Scores: ", count)print("Average Score: ", average)def main():display_welcome()score_total, count = get_scores()process_scores(score_total, count)print("")print("Bye!")# if started as the main module, call the main functionif __name__ == "__main__":main()Computer ScienceEngineering & TechnologyPython Programming ISIT 333
solved : question:the example out put need to be like this:The Test
How it works
- Paste your instructions in the instructions box. You can also attach an instructions file
- Select the writer category, deadline, education level and review the instructionsÂ
- Make a payment for the order to be assigned to a writer
- Â Download the paper after the writer uploads itÂ
Will the writer plagiarize my essay?
You will get a plagiarism-free paper and you can get an originality report upon request.
Is this service safe?
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
LET THE PROFESSIONALS WRITE YOUR PAPER!