venture of iit bombay vjti alumni there is one more example where argument is being passed by reference and the reference is being overwritten inside the called function #!/usr/bin/python function definition is here def changememylist )"this changes passed list into this functionmylist [ , , , ]this would assig new reference in mylist print "values inside the function"mylist return now you can call changeme function mylist [ , , ]changememylist )