Cognizant Interview Question

What is a constructor in python