< Back

Post Lab 3

Demonstrate your knowledge of classes by writing a class with the following conditions.


In a file called course.py, write a class called Course. This course should have attributes department, number, section and time. All attributes should be strings.

At the bottom of your file, demonstrate how to create an object of your course class by using CPSC 170 as your example.


Submit your .py file to inquire before class on Friday, Jan. 29th.