#STRING ENDS WITH
txt = "Hello, welcome to my world."
x = txt.endswith(".")
print(x)
txt = "Hello, welcome to my world."
x = txt.endswith("my world.")
print(x)
txt = "Hello, welcome to my world."
x = txt.endswith("my world.", 5, 11)
print(x)