Python Cra Student Selects Courses Course List Courselist 110 213 315 316 412 121 223 326 Q37163166

PYTHON

In CRA, each student selects courses from a course list:courseList = [110, 213, 315, 316, 412, 121, 223, 326, 328, 422,136, 238, 335, 336, 432, 140, 243, 345, 346, 448, 150, 253, 355,356, 452]

The course prerequisites are given below:

110 > 213 (i.e., 110 is the prerequisite for 213)

316 > 412

223 > 326

328 > 422

136 > 238

243 > 345

253 > 355

356 > 452

In this programming assignment, you need do thefollowing:

• Define a Person class

• Define a Student class inherited from Person

• Define an Advisor class inherited from Person

• Create 8 Student instances based on the student list: stuList= [‘alice’, ‘bob’, ‘cindy’,

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.