def to_swap_case(word: str):
    """
    The 'swapcase()' method converts all uppercase
    characters to lowercase and all lowercase characters
    to uppercase characters of the 'word' string.
    :param word: the string to be swapcased
    :return: the swap-cased string
    """
    return word.swapcase()