Sii Poland Interview Question

What is a constructor in Python?

Interview Answer

Anonymous

Jan 19, 2019

def __new__(cls) . This is constructor , that was tricky question because most of people this that __init__ is a class constructor.