If you pass a list to a function ,then it behaved differently for above operation. I am confused if its call by value or call by reference?
def function1(list1)
list1=[1,4,7,9]
list1.append(80)
list2=[90,67,87,34]
function(list1)
print list1
list1.append()
is appending to the list in list1
but in assignment, List in caller is unchanged.