#Create the dictionary characters that shows each character from the string sally and its frequency. Then, find the most frequent letter based on the dictionary. Assign this letter to the variable best_char.

sally = "sally sells sea shells by the sea shore"
characters={}
for i in sally:
    characters[i]=characters.get(i,0)+1
sorted(characters.items(),key=lambda x: x[1])
best_char=sorted(characters.items(), key=lambda x: x[1])[-1][0]
