demo_ref_string_endswith3.py:
txt = "Hello, welcome to my world." x = txt.endswith("my world.", 5, 11) print(x)
➜ begtut>python demo_string_endswith3.py
False