Python Developer Question:
Download Questions PDF

Tell me how are arguments passed by value or by reference?

Python Developer Interview Question
Python Developer Interview Question

Answer:

Everything in Python is an object and all variables hold references to the objects. The references values are according to the functions; as a result you cannot change the value of the references. However, you can change the objects if it is mutable.

Download Python Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me what Does The <Self> Keyword Do?Explain me five benefits of using Python?