=======================
jupyter-execute縺ョ隕区悽
=======================

.. jupyter-execute::

  name = 'world'
  print('hello ' + name + '!')
  import matplotlib.pyplot as pyplot
  pyplot.plot(range(100))
  pyplot.draw()

.. thebe-button:: Optional title


.. jupyter-execute::
   :hide-code:

   print('this code is invisible')

.. jupyter-execute::
   :hide-code:

   assert( """everything_works, "There's a bug somewhere" """)


.. jupyter-execute::
   :hide-output:

   print('this output is invisible')

   
.. jupyter-execute::
   :code-below:

      
   print('this output is above the code')
      
.. jupyter-execute::
   :linenos:

   print('A')
   print('B')
   print('C')


.. jupyter-execute::
   :lineno-start: 7

   print('A')
   print('B')
   print('C')

.. jupyter-execute::
   :emphasize-lines: 2,5-6

   d = {
   'a': 1,
   'b': 2,
   'c': 3,
   'd': 4,
   'e': 5,
   }   

.. jupyter-execute::
    :raises:

    1 / 0


.. jupyter-execute::
   :raises: KeyError, ValueError

   a = {'hello': 'world!'}
   a['jello']    

.. jupyter-execute::
    :stderr:

    import sys

    print("hello, world!", file=sys.stderr)

    
.. jupyter-kernel:: python3
    :id: a_unique_name



:jupyter-download:nb:`CountDigits </Users/noboru/src/python/Examples/HHGP/CountDigits>`