constructor in pyhton code example Example: pyhon constructor def __init__(self): # body of the constructor