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

Answer Posted / nashiinformaticssolutions

In Python, everything is an object, and references to the objects are stored in all variables. You are unable to alter the reference values because they are determined by the functions. However, if the item is malleable, you can alter it.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you use python to make apps?

522


What are the differences between c and python?

545


How does raw_input work in python 3?

509


What applications can you build with python?

477


Tell me how to find bugs or perform static analysis in a python application?

506






How to compare two list?

575


What is a script mode?

534


Do I need python if I have anaconda?

533


What is a super constructor?

595


What happens when you execute the statement mango=banana in python?

594


How do you clean pyc files?

504


Explain the use of the split function in python?

469


What is python? State some programming language features of python.

547


How do you use raw_input in python?

505


What is slug in python?

533