Snake Case to Pascal Case

    0

    0

    Aakanksha Priya

    # initializing string
    s = input("Enter string in snake case: ")
    # Convert Snake case to Pascal case
    res = s.replace("_", " ").title().replace(" ", "")
    # printing result 
    print("The String after changing case : " + str(res)) 
    
    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.