- To toggle string cases
User Input: heLLo WoRLd
Output: HEllO WOrlD
s1=input("Enter your string : ")
print("After toggle, Your string : ",s1.swapcase())
Enter your string : Have good DAy After toggle, Your string : hAVE GOOD daYProgram
Coming Soon !
QuickPractice isn’t the thing you do once you’re good. It’s the thing you do that makes you good.