how to create constructor in python code example Example: pyhon constructor def __init__(self): # body of the constructor