Run
x = "Some apples are red." if x.startswith("apples", 5, 14): print("The string STARTS with specified value.") else: print("The string DOES NOT START with specified value.")
Output