Question: Create a Python code that accomplishes the following: Request the user to provide the number of pupils in a class. Each student's name, activity grade,

Create a Python code that accomplishes the following:
Request the user to provide the number of pupils in a class.
Each student's name, activity grade, attendance grade, and TMA grade must be
inputted into the initially empty list.
Calculate the CA grade for each student by summing up activities, attendance, and
TMA, then add it to the list right after the entered TMA grade.
Display the revised list once all the records have been entered.
Display the number of pupils in California who achieved a score below 15.
Display the names and corresponding CA scores of students who scored below 15 in
CA consecutively.
Include a screenshot in your response displaying the programme and its output for a
minimum of 5 students, ensuring that there are at least 2 students who have failed.
Key points:
The MTA grade should fall within the range of 0 to 25.
The attendance grade must fall within the range of 0 to 5.
The TMA grade must fall between the range of 0 to 20.
Utilise the identical loop for all requirements.
Expected Output Sample:
Create a Python code that accomplishes the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!