1# MicroPython doesn't support tuple argument
2
3try:
4    "foobar".endswith(("bar", "sth"))
5except TypeError:
6    print("TypeError")
7