My Python Quiz

The ultimate place to learn Python!

Question #78: What gets printed?

kvps = { '1' : 1, '2' : 2 }
theCopy = dict(kvps)

kvps['1'] = 5

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