On digging deeper, I discovered that using selfin Python is merely a convention. More often than not, classes in Python utilize self to initialize and refer to attributes and invoke methods. class Car:
def __init__(self, color, model):
self.color = color
self.model = model
def car_details(self):
print("Model is {}, and color is {}".format(self.model, self.color))
car = Car(color="red", model="Suzuki")
car.car_details()