Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2) Write a Python program that asks the user to enter students' grades. The program should keep accepting grades and stops once a negative value
2) Write a Python program that asks the user to enter students' grades. The program should keep accepting grades and stops once a negative value is entered. Finally, the program prints the number of grades entered, summation and average of all grades. Here is an example of the program output: Enter the grade of student 1: 70 Enter the grade of student 2: 0 Enter the grade of student 3: 80.75 Enter the grade of student 4: -1 You entered grades for 3 students The summation of grades is 150.75 and the average is 50.25
2) Write a Python program that asks the user to enter students' grades. The program should keep accepting grades and stops once a negative value is entered. Finally, the program prints the number of grades entered, summation and average of all grades. Here is an example of the program output: Enter the grade of student 1: 70 Enter the grade of student 2: 0 Enter the grade of student 3: 80.75 Enter the grade of student 4: -1 You entered grades for 3 students The summation of grades is 150.75 and the average is 50.25 Step 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