micropython/tests/basics/string_startswith.py

6 lines
171 B
Python
Raw Normal View History

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