<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
 For a given string, flip lowercase characters to uppercase and uppercase to lowercase.
    
This is how the function will work:
 flip_case('Hello')
    'hELLO'
    
<ASSISTANT_TASK:>
Python Code:
def flip_case(string: str) -> str:
    
    return string.swapcase()
<END_TASK>