diff --git a/.gitignore b/.gitignore index bee8a64..ccd5e52 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ __pycache__ +.ipynb_checkpoints +myvenv \ No newline at end of file diff --git a/jupyter_practice.ipynb b/jupyter_practice.ipynb new file mode 100644 index 0000000..0f24979 --- /dev/null +++ b/jupyter_practice.ipynb @@ -0,0 +1,139 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 3, + "id": "58f02514", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "4\n" + ] + } + ], + "source": [ + "x = 4\n", + "print(x)" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "bf0387ad", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "4\n" + ] + } + ], + "source": [ + "x = 4\n", + "print(x)" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "674bb4c7", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "4\n" + ] + } + ], + "source": [ + "x = 4\n", + "print(x)" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "id": "5447d473", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "6\n" + ] + } + ], + "source": [ + "y = x + 2\n", + "print(y)" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "dd00e019", + "metadata": {}, + "outputs": [], + "source": [ + "def print_value(i):\n", + " print(i+2)" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "080a5c21", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "14\n" + ] + } + ], + "source": [ + "print_value(12)" + ] + }, + { + "cell_type": "markdown", + "id": "982d30ee", + "metadata": {}, + "source": [ + "# Markdown\n", + "* sdfs\n" + ] + } + ], + "metadata": { + "kernelspec": { + "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.9.7" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..0b188b1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +jupyter +