code: def _code_cell(self, source):
          
          input, output = self._prompt.to_cell(source)
          return {'cell_type': 'code',
                  'input': input,
                  'output': output}
docs: Split the source into input and output.