-
-
Save IndhumathyChelliah/63345bbabad1254825cf11d07471bb76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s1="example of strings" | |
print (s1.swapcase()) #Output:EXAMPLE OF STRINGS | |
s2="EXAMPLE OF STRINGS" | |
print (s2.swapcase()) #Output:example of strings | |
s3="Example Of Strings" | |
print (s3.swapcase()) #Output:eXAMPLE oF sTRINGS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment