# 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)) 
      
      Python language logo

      Snake Case to Pascal Case

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.