Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
Project: Software 20.04
Path: python3-sage.ipynb
Views: 137Image: ubuntu2004-dev
Kernel: Python 3 (SageMath)
Python 3.10 inside the current version of Sage
In [1]:
'/ext/sage/9.7/local/var/lib/sage/venv-python3.10.5/bin/python3'
In [2]:
'3.10.5 (main, Sep 20 2022, 13:29:17) [GCC 9.4.0]'
In [3]:
structural matching
In [4]:
a='a' b=1 c=[5, 1]
In [5]:
Merge/Update Dicts:
In [6]:
{'a': 123, 'b': 9, 'foo': 'bar'}
String Methods
In [7]:
'foo-'
In [8]:
datetime.datetime(2020, 10, 31, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='America/Los_Angeles'))
In [9]:
datetime.datetime(2020, 11, 7, 12, 0, tzinfo=zoneinfo.ZoneInfo(key='America/Los_Angeles'))
In [10]:
PST
In [0]:
In [11]:
[<matplotlib.lines.Line2D at 0x7f62b831a230>]
In [0]:
In [0]:
In [0]:
In [0]:
In [0]: