My Python Quiz

The ultimate place to learn Python!

Question #74: What gets printed?

kvps = { '1' : 1, '2' : 2 }
theCopy = kvps

kvps['1'] = 5

sum = kvps['1'] + theCopy['1']
print sum