Answered step by step
Verified Expert Solution
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
Python 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: 85Step 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