My Python Quiz

The ultimate place to learn Python!

Question #49: What gets printed?

foo = {1:'1', 2:'2', 3:'3'}
del foo[1]
foo[1] = '10'
del foo[2]
print len(foo)