- Code: Select all
[code]a = 'help me please can you help me?'
index = a.find('you')
index2 = a.find('me')
print(a[index + 4:index2 - 1])[/code]
i want to print what is between the you and me.
how can i do this using .find, as this only finds the first me and you in the phrase
is it possible
Stop spamming posts if you have nothing relevant to say. "I need this urgently" is definitely not relevant.