Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

revesing case python

t = "Mr.Brown"
nt = t.swapcase()
print(nt)
#print: mR.bROWN
Comment

opposite case in python

# Python program to demonstrate the use of
# swapcase() method  
  
string = "gEEksFORgeeks"
  
# prints after swappong all cases
print(string.swapcase())   
  
string = "striver" 
print(string.swapcase())
Comment

opposite case in python

# Python program to demonstrate the use of
# swapcase() method  
  
string = "gEEksFORgeeks"
  
# prints after swappong all cases
print(string.swapcase())   
  
string = "striver" 
print(string.swapcase())
Comment

PREVIOUS NEXT
Code Example
Python :: how to check if its later than python 
Python :: extract image from pdf python 
Python :: list to set keep order python 
Python :: fastest way to output text file in python + Cout 
Python :: python round up 
Python :: how do you count most frequent item in a list in python 
Python :: virtual env 
Python :: python write list to text file 
Python :: python convert datetime.timedelta into seconds 
Python :: standardscaler in machine learning 
Python :: tqdm gui 
Python :: pyhton return annonymous object 
Python :: how to create notification in python 
Python :: python insert image 
Python :: django gunicorn static file not found 
Python :: how to get the location of the cursor screen in python 
Python :: calcolatrice online 
Python :: save image url to png python 
Python :: python get size of file 
Python :: connect to mysql database jupyter 
Python :: cmd python -m 
Python :: install django windows 
Python :: type hint tuple 
Python :: python check if number is float or int 
Python :: how to code in python 
Python :: union df pandas 
Python :: make beep python 
Python :: convert string representation of a list to list 
Python :: how to change the column order in pandas dataframe 
Python :: remove after and before space python 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =