Find the output of the following program:
d = {1 : 1, 2 : '2', '1' : 1, '2' : 3} d['1'] = 2 print(d[d[d[str(d[1])]]])
2
3
\'2\'
KeyError
This question is part of this quiz :