from typing import List


def removeStringEndings( originalText:str, endingsList:List[str] ) -> str:
    """
    Go through the given list of endings (in order)
        and remove any endings from the end of the string.
    """
    newText = originalText
    for ending in endingsList:
        if newText.endswith( ending ):
            newText = newText[:-len(ending)]
    return newText