# HumanEval/27
# Loki Mode Multi-Agent Solution
# Attempts: 1
# Passed: True

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()