Pergunta de entrevista da empresa Foxconn

how to implement inheritance in python? what is polymorphism?