Overview

Once you know how to define your own class, there are lots of ways that you can use and interact with it. Today we’ll focus on how you can use your own classes as parameters and return values.

Basic Learning Objectives

Before class, you should be able to:

  • Pass an object of your own class to a function
  • Return an object of your own class
  • Define the __str__ method

Advanced Learning Objectives

After class, you should be able to:

  • Define several classes that work together to solve a problem

Resources

You should read/watch the following and complete the embedded checks: