Domanda di colloquio di TechnoHacks EduTech

What is swapcase function in Python?

Risposta di colloquio

Anonimo

28 mag 2024

it is a string’s function that converts all uppercase characters into lowercase and vice versa. It is used to alter the existing case of the string. This method creates a copy of the string which contains all the characters in the swap case.