diff --git a/simple_loop.ipynb b/simple_loop.ipynb index bb1e296..9b808c0 100644 --- a/simple_loop.ipynb +++ b/simple_loop.ipynb @@ -2,14 +2,13 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "0\n", "1\n", "2\n", "3\n", @@ -18,7 +17,8 @@ "6\n", "7\n", "8\n", - "9\n" + "9\n", + "10\n" ] } ], @@ -26,7 +26,10 @@ "import numpy as np\n", "import pandas as pd\n", "\n", - "for i in range(10):\n", + "i = 0\n", + "\n", + "while i < 10:\n", + " i += 1 \n", " print(i)" ] } diff --git a/useless_nb_3.ipynb b/useless_nb_3.ipynb new file mode 100644 index 0000000..0773b10 --- /dev/null +++ b/useless_nb_3.ipynb @@ -0,0 +1,54 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "collapsed": true + }, + "outputs": [], + "source": [ + "blabla" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "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.6.3" + }, + "latex_envs": { + "LaTeX_envs_menu_present": true, + "autoclose": false, + "autocomplete": true, + "bibliofile": "biblio.bib", + "cite_by": "apalike", + "current_citInitial": 1, + "eqLabelWithNumbers": true, + "eqNumInitial": 1, + "hotkeys": { + "equation": "Ctrl-E", + "itemize": "Ctrl-I" + }, + "labels_anchors": false, + "latex_user_defs": false, + "report_style_numbering": false, + "user_envs_cfg": false + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}