I\'m confused by the following example. Let a=[1] be a python list and try to write a function which re-assigns the list such that we will have a=[2]
a=[1]
a=[2]