Question
In this assignment, you will be writing a Python program that will do the following: 1. It will ask the user to keep entering final
In this assignment, you will be writing a Python program that will do the following: 1. It will ask the user to keep entering final grades of students until the user enters -1. Each grade will be out of a maximum of 100 points, and the program will prompt the user to enter the grades one after the other. 2. As the numbers are being entered, the program will be counting number of passing students separately and number of failing students separately. The passing grades are those that are 50 points are higher. 3. In the end the program will print output as follows: You entered 13 grades. 9 were passing and 4 were failing.
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