프로그래밍 언어/Python
Python swapcase()
Cuoong
2025. 3. 2. 22:39
영어 알파벳 대소문자 바꾸기
str = 'aBcDeFg'
print(str.swapcase())
#AbCdEfG
영어 알파벳 대소문자 바꾸기
str = 'aBcDeFg'
print(str.swapcase())
#AbCdEfG