str_swapcase = "what was that about?".swapcase() print(str_swapcase)
Here is what the above code is Doing:
1. We create a string variable called str_swapcase.
2. We call the .swapcase() method on the string variable str_swapcase.
3. We print the result of the .swapcase() method.