Objects RevisitedΒΆ

In Python, every value is actually an object. Whether it be a a list, or an integer, they are all objects. Programs manipulate those objects either by performing computation with them or by asking them to perform methods. To be more specific, we say that an object has a state and a collection of methods that it can perform. The state of an object represents those things that the object knows about itself.

Simple object has state and methods
You have attempted of activities on this page