t = "Mr.Brown"
nt = t.swapcase()
print(nt)
#print: mR.bROWN
# Python program to demonstrate the use of
# swapcase() method
string = "gEEksFORgeeks"
# prints after swappong all cases
print(string.swapcase())
string = "striver"
print(string.swapcase())
# Python program to demonstrate the use of
# swapcase() method
string = "gEEksFORgeeks"
# prints after swappong all cases
print(string.swapcase())
string = "striver"
print(string.swapcase())