This is an archived version of the course. Please find the latest version of the course on the main webpage.

Chapter 4: Objects

Objects

face Josiah Wang

Now, we will start with our lesson by exploring the individual components inside a “simple statement” building block.

Let us first look at objects.

Objects in a statement

In Python, every entity is an object.

Each object is allocated some space in memory, and each object has a type and some value.

Example objects in our guessing game