diff --git a/Rupam Biswas/task0.ipynb b/Rupam Biswas/task0.ipynb new file mode 100644 index 0000000..98258b4 --- /dev/null +++ b/Rupam Biswas/task0.ipynb @@ -0,0 +1,55 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "fe004b48-d739-45f4-a8b2-7928d626c693", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "1.26.1\n" + ] + } + ], + "source": [ + "# Numpy version\n", + "import numpy as np\n", + "\n", + "# Print the version of numpy to the console\n", + "print(np.__version__)\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "021ae488-af10-402b-9778-01f1555de975", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "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.12.0" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/Rupam Biswas/task1.ipynb b/Rupam Biswas/task1.ipynb new file mode 100644 index 0000000..a2a665a --- /dev/null +++ b/Rupam Biswas/task1.ipynb @@ -0,0 +1,64 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 4, + "id": "a878dd38-e84a-45fc-9dab-61862ae5d155", + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "[[0 0]\n", + " [0 0]]\n", + "(2, 2)\n", + "4\n" + ] + } + ], + "source": [ + "#Create an empty array\n", + "import numpy as np\n", + "empty_array = np.empty([2, 2], int)\n", + "print(empty_array)\n", + "print(empty_array.shape)\n", + "print(empty_array.size)\n", + "#output-\n", + "#[[0 0]\n", + "# [0 0]]\n", + "#(2, 2)\n", + "#4" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "69d61bf2-66ce-4860-880d-6dab5c040671", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "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.12.0" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}