a = [1, 2, 3]
b = [3, 2, 1]

temp = a    #creating a third variable to store value of a
a = b       #assigning value of b to a
b = temp    #assigning value of a to b

print('a = {} \nb = {}'.format(a,b))

#a = [3, 2, 1] 
#b = [1, 2, 3]
