I have a problem with dictionary. See samples.
dict1 = {"key1" : "value1","key2" : "value2"}
tempdict1 = dict1
dict1.pop("key1")
print(dict1) #returns {"key2":"value2"}
print(tempdict1) #returns {"key2":"value2"} also.
The dict1 works as expected but the tempdict1 also have the same value as dict1.
I am using Python 2.7.
Thanks!