Question: PYTHON Implement the following: 1) Define a class Course with three attributes title, term, and enrollment. 2) Define an init method for Course which sets
PYTHON
Implement the following: 1) Define a class Course with three attributes title, term, and enrollment. 2) Define an init method for Course which sets the attribute values via input parameters. 3) Create a Course instance named myCourse with attribute values "python programming", "fall" and 20. 4) Access and print the title and term attribute value of myCourse. Make sure to precisely match the output format below. Write your code in the ANSWER area provided below (must include comments if using code is not covered in the course). Example Output Title: Python Programming Term: FALL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
