Files
2026-05-31 05:37:10 +00:00

6 lines
205 B
Python

def flip_case(string: str) -> str:
""" For a given string, flip lowercase characters to uppercase and uppercase to lowercase.
>>> flip_case('Hello')
'hELLO'
"""
return string.swapcase()