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

Save as Private