how to find the position of every word in a sentence(string) where the same word is used more than 1 time using functions and input in python?
I am finding the position of one the word in the string but the position of the second is not appearing
how to find the position of every word in a sentence(string) where the same word is used more than 1 time using functions and input in python?
I am finding the position of one the word in the string but the position of the second is not appearing