def removesuffix(s: str, suffix: str) -> str:
    """Remove a suffix string `suffix` from a string `s`.

    Args:
        s (str): string the contains suffix we want to remove
        suffix (str): suffix we want to remove

    Returns:
        str: string without the suffix part

    """
    if suffix and s.endswith(suffix):
        return s[:-len(suffix)]
    else:
        return s[:]