words = UserSen.split(' ')
if WordFindRaw in words:
pos = words.index(WordFindRaw)+1
That is part of my code to find out what position a word is in a sentence but it only allows me to find one position so basically if i say "you should go outside because outside is nice" and then search for the word "outside" it will only output position 4 but i want it to output 6 aswell. Please helpp. Thanks.
@thanuka20