Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python 3. That's all the screen I have. After the user enters grade number 5, t he program should use the statistics library calculate and

image text in transcribedPython 3. That's all the screen I have. After the user enters grade number 5, the program should use the statistics library calculate and then display average, median, mode, standard deviation, minimum, and maximum grade for class. The printed results should be formatted and aligned.

Question 1 (60 points) Write a program that takes user input for students' total grades (total grade out 100) using "for loops, Functions", and Lists", the program should store all of the grades in one list. Use proper comments throughout your program and follow appropriate use of variables. The program should use the statistics library calculate and then display average, median,mode standard deviation, minimum, and maximum grade for class. The printed results should be formatted and aligned. The program should display relevant message to the user (such as "Enter total grade for student no. 1". The program should also control for invalid entries. The program should not allow for fewer than 5 students or greater than 35 students. Use functions to write this program. Please use comments throughout your code and evaluate user input to detect invalid entries. Example of input screen: Enter number of students:5 Enter Grade number 15 Enter Grade number 2: 6 Enter Grade number 3: 70 EnterGrade number 4: 90 Enter Grade number 5: 85

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_2

Step: 3

blur-text-image_3

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

Advances In Spatial And Temporal Databases 11th International Symposium Sstd 2009 Aalborg Denmark July 8 10 2009 Proceedings Lncs 5644

Authors: Nikos Mamoulis ,Thomas Seidl ,Kristian Torp ,Ira Assent

2009th Edition

3642029817, 978-3642029813

More Books

Students also viewed these Databases questions

Question

What is accounting analysis? Explain.

Answered: 1 week ago