how to use startswith() with list code example Example: how to use startswith() with list if link.lower().startswith(("js", "catalog", "script", "katalog")):