💡 What You'll Learn

Objects are instances of classes. Each object has its own data (attributes) and can do actions (methods). Multiple objects can exist from the same class, each with different values.

objects.py
1dog1 = Dog("Buddy")
2dog2 = Dog("Max")
3dog1.bark() # Buddy says woof!
4dog2.bark() # Max says woof!
📺 Create multiple objects!
Buddy
Age: 3
Max
Age: 5
Click to see both dogs bark!

🎯 Your Challenges

1Different Pets
Create a Dog and a Cat object and make them interact
2Compare Objects
Check if two objects are the same type
3List of Objects
Store multiple objects in a list and loop through them

📚 What You Learned