Pregunta de entrevista de Infosys

Monkey Patching Problem in Python(I was not able to answer it)