Question d’entretien chez Foxconn

how to implement inheritance in python? what is polymorphism?