def remove_quotes(string: str) ->str:
    """
    Removes quotes from around a string, if they are present.

    :param string:  The string to remove quotes from.
    :return:        The string without quotes.
    """
    if string.startswith('"') and string.endswith('"'):
        string = string[1:-1]
    elif string.endswith("'") and string.endswith("'"):
        string = string[1:-1]
    return string
