Question
Watson Elementary School contains 30 classrooms numbered 1 through 30.Each classroom can contain any number of students up to 35.Each student takes an achievement test
Watson Elementary School contains 30 classrooms numbered 1 through 30.Each classroom can contain any number of students up to 35.Each student takes an achievement test at the end of the school year and receives a score from 0 through 100.Python program that accepts data for each student in the school-classroom number and score on the achievement test.Design a program that lists the total points scored for each of the 30 classrooms.
In other words,the user should be able to enter a class number and score, and repeat until all the scores are enterd, then enter a terminal value like -1.The class numbers can be in no particular order.Once the terminal value has been entered, display the total points for each classroom.
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