diff --git a/Notebook-X.ipynb b/Notebook-X.ipynb index 3628e77..b7c593f 100755 --- a/Notebook-X.ipynb +++ b/Notebook-X.ipynb @@ -742,14 +742,39 @@ "\n", "print(mmc(650, 1000))" ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "0\n", + "0\n", + "1\n", + "0\n", + "2\n" + ] + } + ], + "source": [ + "i = 0\n", + "while i < 5:\n", + " print(i)\n", + " i += 1\n", + " if i == 3:\n", + " break\n", + " else:\n", + " print(0)" + ] } ], "metadata": { - "interpreter": { - "hash": "02a0274d8add694ae22da6a9bb5eb47c091c997a6aad4ecec77bb5dd18990dd9" - }, "kernelspec": { - "display_name": "Python 3.9.9 64-bit", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -763,7 +788,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.9" + "version": "3.11.9" }, "orig_nbformat": 4 },