Skip to content

Commit

Permalink
Update intro_notebook.ipynb
Browse files Browse the repository at this point in the history
update notebook to a notebook that was run cells
  • Loading branch information
mschwamb authored Jan 30, 2024
1 parent d8fe8b5 commit 2b9902a
Showing 1 changed file with 67 additions and 6 deletions.
73 changes: 67 additions & 6 deletions docs/notebooks/intro_notebook.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 1,
"id": "actual-thirty",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -49,34 +49,95 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"id": "f93e79e9",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Printing order 0 triangle\n",
"*\n",
"Printing order 1 triangle\n",
" * \n",
"* *\n",
"Printing order 2 triangle\n",
" * \n",
" * * \n",
" * * \n",
"* * * *\n"
]
}
],
"source": [
"for order in range(3):\n",
" sierpinsky(order)"
]
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 3,
"id": "526ac5db",
"metadata": {},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Printing order 4 triangle\n",
" * \n",
" * * \n",
" * * \n",
" * * * * \n",
" * * \n",
" * * * * \n",
" * * * * \n",
" * * * * * * * * \n",
" * * \n",
" * * * * \n",
" * * * * \n",
" * * * * * * * * \n",
" * * * * \n",
" * * * * * * * * \n",
" * * * * * * * * \n",
"* * * * * * * * * * * * * * * *\n"
]
}
],
"source": [
"sierpinsky(4)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ce7b9e93",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"jupytext": {
"cell_markers": "\"\"\""
},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"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.11.5"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2b9902a

Please sign in to comment.