What is python's parameter passing mechanism?



What is python's parameter passing mechanism?..

Answer / Kumari Ritu

Python uses call-by-object-sharing (also known as pass-by-reference) for parameter passing. When a function is called with an argument, Python passes the memory address of the argument, not the value itself.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Explain docstring in python?

1 Answers  


How are arguments passed by value or by reference in Python?

3 Answers  


What is with keyword in python?

1 Answers  


Do python functions need return?

1 Answers  


How would you define a protected member in a python class ?

1 Answers  


What are methods in python?

1 Answers  


Explain the inheritance in python with an example?

0 Answers  


Why Should We Use File Operation?

1 Answers  


Name the function which helps to change the files permission

1 Answers  


What is ndarray in python?

1 Answers  


Explain about the dictionary function in python?

1 Answers  


What is xrange in python?

1 Answers  


Categories