mirror of
https://github.com/micropython/micropython.git
synced 2024-07-26 18:26:56 +01:00
6 lines
195 B
Python
6 lines
195 B
Python
# str methods with explicit start/end pos
|
||
print("Привет".startswith("П"))
|
||
print("Привет".startswith("р", 1))
|
||
print("абвба".find("а", 1))
|
||
print("абвба".find("а", 1, -1))
|