- To convert first character of every word in a string to UPPERCASE & others to lowercase
User Input: heLLo WoRLd
Output: Hello World
s1=input("Enter your string : ")
print("After toggle, Your string : ",s1.title())
Enter your string : Have good DAy After toggle, Your string : Have Good DayProgram