What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
1. 1
2.2
3. 4
4. Error, the keys can’t be a mixture of letters and numbers
Posted Date:-2021-12-31 09:55:19