func_code: def index(word, letter):
      i = 0
      while i < len(word):
          if letter not in word:
              return -1
          elif word[i] == letter:
              return i
          else:
              i = i + 1