How are ar ...
Site Language: English
Terms and Conditions
How are arguments passed into functions in Python?
Depends on the data type
It depends on the data type of an argument. Immutable data types are passed by value (effectively a copy of value is created) while mutable data types are passed by reference (reference to an object is passed into function).
Login to learn Python
Read more about
What is a correct term for the following piece of Python syntax: 3 + 4...
What gets printed: a = b = [1, 2, 3] b = 4 print(a) ...
Is it possible to link a Python program to code written in C?...
What will the output of the following statement be? print "%s is awes...
In a Python 2 new-style class declared as Child(Base), what is the correc...
True or False: Python packages can be imported from inside a Zip file....
Sign Up Now
Subscribe for future quizzes