American Young Coder

AYC logo
Loading Events

« All Events

  • This event has passed.

Thursday- 6:00 PM- Python OOP

January 15 @ 6:00 pm - 7:00 pm

Today We Did

how to build classes

how to use those class templates to build objects

 

Homework

 

Copy/Read Pages 158-161

Create a class based on your favorite animal

it should have
three attributes ( the things in the def __init__ )

2 class methods (the actions it can do)
One of these actions needs a variable

After building the class template, create a object/instance of your animal and …

  1. Print all its attributes
  2. use both its actions

Details

Date:
January 15
Time:
6:00 pm - 7:00 pm