# function that gets strings and
# make a dictionary that connect from alpa-biet to
# the num of times in appearance

def char_freq(str):
    freq = {}
    for val in str:
        times = str.count(val)
        freq[val] = times
    return freq

print(char_freq("abzz"))
f5dc3d82373a2141ae9ad5716c3f5847ada6fcba
<mask token>

def char_freq(str):
    freq = {}
    for val in str:
        times = str.count(val)
        freq[val] = times
    return freq


<mask token>

def char_freq(str):
    freq = {}
    for val in str:
        times = str.count(val)
        freq[val] = times
    return freq


print(char_freq('abzz'))

# function that gets strings and
# make a dictionary that connect from alpa-biet to
# the num of times in appearance

def char_freq(str):
    freq = {}
    for val in str:
        times = str.count(val)
        freq[val] = times
    return freq

print(char_freq("abzz"))