# class_basics.py

# Defining a simple class
class Car:
    def __init__(self, brand, model):
        self.brand = brand
        self.model = model
    
    def start_engine(self):
        return f"{self.brand} {self.model} engine started!"

# Creating objects
car1 = Car("Toyota", "Corolla")
car2 = Car("Tesla", "Model 3")

# Using methods
print(car1.start_engine())
print(car2.start_engine())

# Attributes
print("Car 1 brand:", car1.brand)
print("Car 2 model:", car2.model)
