Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here are at least 3 ways:

  • Run the code with sage -python

  • In the notebook, choose "python" in the dropdown list at the top.

  • In the notebook, put the code in a cell with a %python at the top of the cell.