Python Program:

- To toggle string cases

Example:

User Input: heLLo WoRLd

Output: HEllO WOrlD

s1=input("Enter your string : ")
print("After toggle, Your string  : ",s1.swapcase())

Output:

  Enter your string : Have good DAy
  After toggle, Your string : hAVE GOOD daY
Program
string

You can use predefined swapcase() method to toggle string cases

s1.swapcase()
Concept

Coming Soon !

Quick
Tutorial

Quote

Give a man a fish and you feed him for a day; teach a man to fish and you feed him a lifetime.