Result Size:
625 x 571
demo_ref_string_startswith2.py:
txt = "Hello, welcome to my world." x = txt.startswith("wel", 7, 20) print(x)
x
txt
=
"Hello, welcome to my world."
x
=
txt
.
startswith
(
"wel"
,
7
,
20
)
print
(
x
)
C:\Users\My Name>python demo_string_startswith2.py
True