For example, if we create four objects, the constructor is called four times . In Python, every class has a constructor, but it’s not required to define it explicitly. Defining constructors in class is optional. Python will provide a default constructor if no constructor is defined.