For this question in the String review:
I have a code that works for the problem but if I was given the word “appple” it would not work.
What would be a more universal solution?
x = word.find(start)
y = word.find(end)
if start in word and end in word: