What is the difference between a class and an object in Python?
A class is a blueprint for creating objects. It defines the properties (attributes) and behaviors (methods) that the objects will have. Classes are defined using the class keyword. An object is an instance of a class. It is created by calling the class constructor (e.g., my_object = MyClass()) and has its own set of attributes and methods. Ob