Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3-defining-classes.md #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions data/part-8/3-defining-classes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ hidden: false
After this section

- You will know how to define your own classes
- You will be able to create objects based on classes you've defined yourself
-
You will be able to create objects based on classes you've defined yourself
- You will know how to write a constructor
- You are familiar with the parameter name `self`
- You will know what attributes are and how they are used
Expand Down Expand Up @@ -266,7 +267,7 @@ Please also include a constructor in each class. The constructor should take the

</programming-exercise>

## Using objecs formed from your own classes
## Using objects formed from your own classes

Objects formed from your own class definitions are no different from any other Python objects. They can be passed as arguments and return values just like any other object. We could, for example, write some helper functions for working with bank accounts:

Expand Down