Pergunta de entrevista da empresa Infosys

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