Computer Science, asked by vaissalibaawal, 11 months ago

predict the output
arr={}
arr[1]=1
arr['1']=2
arr[1]+=1
sum=0
for k in arr:
sum+=arr[k]
print(sum)

Answers

Answered by MRsteveAustiN
8

The output is

sum=0

Thanks

Answered by super15
0

Answer:

Sum = 0.....................

Similar questions