Python's string swapcase method does exactly what you think it does. It swaps the case of all the lowercase and uppercase letters in the string. Swapcase also does nothing to whitespace, numbers, or symbols.
Subscribe If You Enjoyed :)
#pythonquiz #shorts
Watch video Python String Methods: swapcase online without registration, duration hours minute second in high quality. This video was added by user Jakubication 12 November 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,030 once and liked it 9 people.