Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python swapcase() method Example

Python swapcase() method Example
text1 = "pYTHON tUTORIALS"
print(text1.swapcase())

text2 = "HELLO WORLD"
print(text2.swapcase())

text3 = "welcome to itsmycode"
print(text3.swapcase())

text4 ="12345!!!"
print(text4.swapcase())
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #Python #method #Example
ADD COMMENT
Topic
Name
4+3 =