write a python program which do the following: A simple course management system models a student’s information with a name and a set of scores. This system should be able to create a student object with a given name and a number of scores, all of which will be 0 at startup. The system should be able to access or replace a score at a given position (counting from 0), obtain the number of scores, obtain the highest score, obtain the average score, and obtain the student’s name. In addition, the system should have a method to display name, scores, highest score and average score of a student. Please define a class named Student to implement this course management system. Please use the starter code student.py. Expected output: The list of students: Name: Juan
write a python program which do the following:
A simple course management system models a student’s information with a name and a set of scores. This system should be able to create a student object with a given name and a number of scores, all of which will be 0 at startup. The system should be able to access or replace a score at a given position (counting from 0), obtain the number of scores, obtain the highest score, obtain the average score, and obtain the student’s name. In addition, the system should have a method to display name, scores, highest score and average score of a student. Please define a class named Student to implement this course management system. Please use the starter code student.py.
Expected output:
The list of students:
Name: Juan
Scores: 71 75 89
Highest score: 89.00
Average score: 78.33
Name: Bill
Scores: 97 89 90
Highest score: 97.00
Average score: 92.00
Name: Stacy
Scores: 99 83 87
Highest score: 99.00
Average score: 89.67
Name: Maria
Scores: 73 97 92
Highest score: 97.00
Average score: 87.33
Name: Charley
Scores: 95 89 92
Highest score: 95.00
Average score: 92.00
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images