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