func_code: def index(str, letter):
      position = 0
      if position == len(str):
          return '-1'
      elif str[position] == letter:
          return pos
      else:
          return index(str, letter, position + 1)