Write a Student class to represent students. Your class should implement the following methods: 1. Create two instance list variables courses and grades for courses and grades and instance variables...

Python
Write a Student class to represent students. Your class should implement the<br>following methods:<br>1. Create two instance list variables courses and grades for courses and<br>grades and instance variables called gpa, name, id<br>2.<br>init<br>(self, studentName, studentID) Creates a student<br>object<br>3. addCourse (self, courseName, courseGrade) Adds a<br>completed course a corresponding grade<br>4. getGPA (self) that calls calculate GPA method and returns the gpa<br>5. calculateGPA(self) that calculates current gpa when called<br>6. getName(self) to return name<br>7.<br>str (self) to return a report card with student name, id, list of<br>course and gpa<br>8. And any other method you can think of<br>9. Write a demo program to test your student class<br>DII<br>F5<br>PrtScn<br>FB<br>Home<br>F9<br>End<br>F10<br>PgUr<br>F3<br>F4<br>F6<br>F7<br>

Extracted text: Write a Student class to represent students. Your class should implement the following methods: 1. Create two instance list variables courses and grades for courses and grades and instance variables called gpa, name, id 2. init (self, studentName, studentID) Creates a student object 3. addCourse (self, courseName, courseGrade) Adds a completed course a corresponding grade 4. getGPA (self) that calls calculate GPA method and returns the gpa 5. calculateGPA(self) that calculates current gpa when called 6. getName(self) to return name 7. str (self) to return a report card with student name, id, list of course and gpa 8. And any other method you can think of 9. Write a demo program to test your student class DII F5 PrtScn FB Home F9 End F10 PgUr F3 F4 F6 F7

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here