1. In this video we construct a field class that can contain crops and animals.

    # vimeo.com/65554018 Uploaded 1,963 Plays 0 Comments
  2. This video demonstrates how to add functions to add and remove both crops and animals from our field.

    # vimeo.com/65553371 Uploaded 1,545 Plays 0 Comments
  3. This video demonstrates how to add functions to test the functionality of our class

    # vimeo.com/65555097 Uploaded 1,358 Plays 0 Comments
  4. In this video we add methods to report the needs and contents of our field.

    # vimeo.com/65623249 Uploaded 1,100 Plays 0 Comments
  5. This video demonstrates how to add a grow method to your field class that will grow all crops and animals present.

    # vimeo.com/65623206 Uploaded 943 Plays 0 Comments

Object-oriented programming, Part 2

Python School Plus

In this section we develop our simulation further by adding a field class which can contain both crops and animals.

Browse This Channel

Shout Box

Heads up: the shoutbox will be retiring soon. It’s tired of working, and can’t wait to relax. You can still send a message to the channel owner, though!

Channels are a simple, beautiful way to showcase and watch videos. Browse more Channels.