- 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
Coming Soon !
QuickIn order to succeed you must fail, so that you know what not to do the next time.