code: def next_line(self):
          
          self.line = next(self.lines)  # Will raise StopIteration when there are no more lines
          self.values = self.line.split()
docs: Read the next line from the line generator and split it