venture of iit bombay vjti alumni def changememylist )"this changes passed list into this functionmylist append([ , , , ])print "values inside the function"mylist return now you can call changeme function mylist [ , , ]changememylist )print "values outside the function"mylist herewe are maintaining reference of the passed object and appending values in the same object sothis would produce the following result values inside the function[ [ ]values outside the function[ [ ]