The list (array) inside a python function is taking value from previous instance of function call when the value is not passed as argument. For eg.
def abc(va