Swapcase

str_swapcase = "what was that about?".swapcase()
print(str_swapcase)
rajib2k5