ShareCopy to ClipboardRawPreview# 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)) Snake Case to Pascal Case00an0nym0usraven0 CommentsAdd CommentLog in to add a comment