What is the output of the following program?
tup = {} tup[(1,2,4)] = 8 tup[(4,2,1)] = 10 tup[(1,2)] = 12 sum1 = 0 for k in tup: sum1 += tup[k] print(len(tup) + sum1)
30
31
32
33
This question is part of this quiz :