Skip to content

Instantly share code, notes, and snippets.

@mstimberg
Created December 13, 2019 10:36
Show Gist options
  • Save mstimberg/d6087a0e7f0cd4611f309780d98a48f6 to your computer and use it in GitHub Desktop.
Save mstimberg/d6087a0e7f0cd4611f309780d98a48f6 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Markdown cell before"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [
{
"data": {
"text/latex": [
"$\\displaystyle \\pi$"
],
"text/plain": [
"pi"
]
},
"execution_count": 1,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import sympy\n",
"sympy.pi"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Markdown cell after"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python3.8",
"language": "python",
"name": "python3.8"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment