Python coding: count the same letters in a single word
Anonymous
# create a dictionary to save the number of occurence name='Havannah' name_cnt = {} for i in name.lower(): name_cnt[i] = name_cnt.get(i, 0)+1 print(name_cnt)
Check out your Company Bowl for anonymous work chats.