func_code: def index(str, letter):
      i = 0
      while i < len(str):
          position = 0
          if letter in str:
              position = position + 1
              return position
          else:
              return '-1'