Ned Batchelder on X: "The .startswith and .endswith string methods in # Python can take one string, or a tuple of strings. They return True if any of the strings is at the
Python String endswith() Method: Clear And Concise - Oraask
Endswith Function In Python String - Python Guides