<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def line(self, idx):
 """Return the i'th program line. :param i: The i'th program line. """

        # TODO: We should parse the response properly.
        return self._query(('PGM?', [Integer, Integer], String), self.idx, idx)