From d815288fa13985c92220e4ff5b55e62d600b818c Mon Sep 17 00:00:00 2001 From: Meg Schwamb Date: Tue, 30 Jan 2024 13:25:09 +0000 Subject: [PATCH] Update intro_notebook.ipynb remove empty cell --- docs/notebooks/intro_notebook.ipynb | 59 ++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 13 deletions(-) diff --git a/docs/notebooks/intro_notebook.ipynb b/docs/notebooks/intro_notebook.ipynb index ea91419..651deda 100644 --- a/docs/notebooks/intro_notebook.ipynb +++ b/docs/notebooks/intro_notebook.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "actual-thirty", "metadata": {}, "outputs": [], @@ -49,10 +49,27 @@ }, { "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)" @@ -60,21 +77,37 @@ }, { "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": {