string = input("Sample String: ")
print("Expected Result : ")


def character_count():
    for character in string:
        value = string.count(character)
        print("{}:{}".format(character, value))


character_count()
