letterCount

    0

    0

    Mahendra Kumar

    goodPracticeprogramming

    to count the number of valid characters in a given string

    S= str(input())
    count=0;
    for i in range(len(S)):
      if i!=" ":
        count=count+1;
    print(count)
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.