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 |
Explain docstring in python?
How are arguments passed by value or by reference in Python?
What is with keyword in python?
Do python functions need return?
How would you define a protected member in a python class ?
What are methods in python?
Explain the inheritance in python with an example?
Why Should We Use File Operation?
Name the function which helps to change the files permission
What is ndarray in python?
Explain about the dictionary function in python?
What is xrange in python?