title: how to change a function in existing 3rd party library in python
body: <p>This was an interview question which was asked to me. Please do not penalize me if it doesn't make sense. She asked:</p>
  
  <p>"I have an existing 3rd party lib in python and there is a function foo() in it. How do I modify that function after importing in my existing module?"</p>