Mimic reference parameters in python

In my recent project, I needed to migrate c# code which uses reference parameters. Unfortunately, python does not support reference parameters - In this article we will see how can we mimic their semantics in python.