Question: what is the difference between pass by value and pass by reference in python?
Answer: To summarise, in pass by reference the function and the caller use the same variable and object. ... Pass by Value: In pass by value the function is provided with a copy of the argument object passed to it by the caller.