Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a class for describing student. It includes three attributes: studentID, name and score, in which score should be a list to contain scores of

Write a class for describing student. It includes three attributes: studentID, name and score, in which score should be a list to contain scores of several courses. This class also includes a method named as get_ID for returning studentID, a method named as get_name for returning student's name, a method named as get_max_score for returning the max score of this student, a method named as get_mean_score for returning the mean score of this student.

Then write two instances of this class with different studentID, different name, and different number of scores, print studentID, name, scores, max score and mean score for each student.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

More Books

Students also viewed these Databases questions

Question

Which are non projected Teaching aids in advance learning system?

Answered: 1 week ago