def removeprefix(s, prefix):
    """
    Remove a prefix from a string

    :param s: string
    :param prefix: prefix to remove
    :returns: the string with the prefix removed
    """
    if hasattr(s, "removeprefix"):
        # python >= 3.9
        return s.removeprefix(prefix)
    if s.startswith(prefix):
        return s[len(prefix):]
    return s