Core Concept Mastery • Python Visual Series Module
An object is a specific instance created from a class. While a class is the blueprint, an object is a real thing built from that blueprint. Each object has its own copy of the data defined by the class.
class Dog:
sound = "Woof"
my_dog = Dog()
your_dog = Dog()
print(type(my_dog))
print(my_dog is your_dog)
We already have the Dog class defined. It's a blueprint sitting in memory. Now let's create real objects from it.