Problem 20

2 comments on “Problem 20”


  • Pallipattu

    Python
    n=input()
    a=0
    for i in n:
    if i.islower():
    a=a+1
    elif i.isupper():
    a=a+1
    else:
    if i.isdigit():
    a=a+1
    print(a)


  • Pallipattu

    n=input()
    a=0
    for i in n:
    if i.islower():
    a=a+1
    elif i.isupper():
    a=a+1
    else:
    if i.isdigit():
    a=a+1
    print(a)