circuitpython/tests/basics/string_startswith.py
2014-01-23 02:47:10 +02:00

6 lines
171 B
Python

print("foobar".startswith("foo"))
print("foobar".startswith("Foo"))
print("foobar".startswith("foo1"))
print("foobar".startswith("foobar"))
print("foobar".startswith(""))