Question:

What gets printed?

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

kvps['1'] = 5

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

Answers:


Keywords:

© 2017 QuizBucket.org