I have this program:
word = input('enter word:')
letter = input('enter letter to find:')
y = word.find(letter)
print(y)
and it only print 0:
enter word:pythop
enter letter to find:p
0
>>>
so how can I get the position of both of this letter 'p' as it only recognise one of it? thanks