#word would be "abraham" #guess would be "a" index = 0 while index < len (word): if word [index] == guess return index index = index +1 return "not found"