What is the output of the following snippet of code?
total={}
def insert(items):
if items in total:
total[items] += 1
else:
total[items] = 1
insert('Apple')
insert('Ball')
insert('Apple')
print (len(total))
3
01
02
00
Answers
Answered by
0
bur chod air eh of ek or well
Similar questions