code: def find_line_containing(strings: Sequence[str], contents: str) -> int:
      
      for i in range(len(strings)):
          if strings[i].find(contents) != -1:
              return i
      return -1
docs: Finds the index of the line in ``strings`` that contains ``contents``,
      or ``-1`` if none is found.