CircuitPython

Source code browser

Note: This site will be taken down by the end of the year

1
2
3
4
5
6
# MicroPython doesn't support tuple argument

try:
    "foobar".startswith(("foo", "sth"))
except TypeError:
    print("TypeError")