How are arguments passed - by reference or by value?

Everything in Python is like an object. All variables hold different references to the objects. The values of references are as per their functions. As a result, the programmer cannot change the value of the references. However, he can change the objects if they are mutable.

Suggest An Answer

No suggestions avaliable!

Latest post from Python Interview Questions

Ask Question