Pregunta de entrevista de Cognizant

Write a code of method overriding in python