Kernel: Sage Py3
Try Python3-based SageMath in Jupyter
Let's check which version of Sage and of Python this is.
In [1]:
SageMath version 8.4.rc0, Release Date: 2018-10-07
In [2]:
3.6.6 (default, Oct 10 2018, 07:37:57)
[GCC 7.3.0]
Let's check some stuff that works differently in Python 2 and Python 3.
In [3]:
range(0, 10)
In [4]:
File "<ipython-input-4-01aef55c34fb>", line 1
print Integer(2)
^
SyntaxError: invalid syntax
In [5]:
2
Let's check some Sage functionality
In [6]:
[0 0]
[0 0]
In [7]:
In [8]:
Modular Symbols space of dimension 5 for Gamma_0(23) of weight 2 with sign 0 over Rational Field
In [9]:
((1,0), (1,17), (1,19), (1,20), (1,21))
In [0]: