71
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) Answer & Solution
Answer: Option
C
No explanation is given for this question. Let's Discuss on Board