Use classes in the program from Ch. 6.6.2. Modify the files/students.py program described in Chapter 6.6.2 by making the values of the data dictionary instances of class Student. This class contains a...


Use classes in the program from Ch. 6.6.2. Modify the files/students.py program described in Chapter 6.6.2 by making the values of the data dictionary instances of class Student. This class contains a student’s name and a list of the courses. Each course is represented by an instance of class Course. This class contains the course name, the semester, the credit points, and the grade. Make __str__ and/or __repr__ write out the contents of the objects. Name of program file: Student_Course.py.

Nov 14, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here