Python Compiler
txt = "Python is simple." x = txt.endswith("th", 2, 4) print(x)
OUTPUT
True
×

Save as Private