Blog

What is the output of the following code?

class Car:
def __init__(self, id):
self.id = id
id = 25
car = Car(20)
print(car.id)