code: def fill_notebook(work_notebook, script_blocks):
      
  
      for blabel, bcontent, lineno in script_blocks:
          if blabel == 'code':
              add_code_cell(work_notebook, bcontent)
          else:
              add_markdown_cell(work_notebook, bcontent + '\n')
docs: Writes the Jupyter notebook cells
  
      Parameters
      ----------
      script_blocks : list
          Each list element should be a tuple of (label, content, lineno).