I am trying to make a code that , reads a string and find a word and the position of it then return the position..
I have no idea how I can do that, so i have no code here...but this may express what i mean:
str = "I have no idea,"
X,Y = function_that_I_am_trying_to_do(word:"no")
print(X,Y)
return:
7,1
I ill appreciate your help.
2 replies to this topic
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











