diff --git a/Aswathy/Basics.ipynb b/Aswathy/Basics.ipynb new file mode 100644 index 0000000..83dd370 --- /dev/null +++ b/Aswathy/Basics.ipynb @@ -0,0 +1,165 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "welcome\n" + ] + } + ], + "source": [ + "print(\"welcome\")" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "20\n" + ] + } + ], + "source": [ + "print(10*2)" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "15625\n" + ] + } + ], + "source": [ + "print(5**6) #5*5*5*5*5*" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "7\n" + ] + } + ], + "source": [ + "print(5^2)" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [], + "source": [ + "n1=10\n", + "n2=2\n", + "res=n1/n2" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "5.0\n" + ] + } + ], + "source": [ + "print (res)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Shortcuts" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "**Run cell -> shift + enter**" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "insert cell above -> A\n", + "insert cell below -> B\n", + " delete the cell -> dd" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# heading" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "__aswathy__" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "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.7.3" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/Basics.ipynb b/Basics.ipynb new file mode 100644 index 0000000..83dd370 --- /dev/null +++ b/Basics.ipynb @@ -0,0 +1,165 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "welcome\n" + ] + } + ], + "source": [ + "print(\"welcome\")" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "20\n" + ] + } + ], + "source": [ + "print(10*2)" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "15625\n" + ] + } + ], + "source": [ + "print(5**6) #5*5*5*5*5*" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "7\n" + ] + } + ], + "source": [ + "print(5^2)" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [], + "source": [ + "n1=10\n", + "n2=2\n", + "res=n1/n2" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "5.0\n" + ] + } + ], + "source": [ + "print (res)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Shortcuts" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "**Run cell -> shift + enter**" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "insert cell above -> A\n", + "insert cell below -> B\n", + " delete the cell -> dd" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# heading" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "__aswathy__" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "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.7.3" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +}