1 solutions

  • 0
    @ 2025-3-3 16:33:49

    Python :

    s1=input()
    n=0
    for i in range(97,97+27):
        n=s1.count(chr(i))
        if n>0:
            print("{}:{}".format(chr(i),n),end=" ")
    
    • 1

    Information

    ID
    10756
    Time
    1000ms
    Memory
    16MiB
    Difficulty
    (None)
    Tags
    # Submissions
    0
    Accepted
    0
    Uploaded By