Closed ji-0630 closed 1 year ago
def solution(my_string):
answer = ""
for i in my_string:
if i == i.upper():
answer += i.lower()
else:
answer += i.upper()
return answer
def solution(my_string):
return my_string.swapcase()
문제 설명