diff --git a/Tasks.ipynb b/Tasks.ipynb index 4903683..aeb7adb 100644 --- a/Tasks.ipynb +++ b/Tasks.ipynb @@ -1,21 +1,10 @@ { - "nbformat": 4, - "nbformat_minor": 0, - "metadata": { - "colab": { - "provenance": [] - }, - "kernelspec": { - "name": "python3", - "display_name": "Python 3" - }, - "language_info": { - "name": "python" - } - }, "cells": [ { "cell_type": "markdown", + "metadata": { + "id": "6LkPygla_OXh" + }, "source": [ "# **Task 1**\n", "\n", @@ -29,57 +18,57 @@ "5. Print the result.\n", "\n", "(Print the shape of matrix always with the matrix)\n" - ], - "metadata": { - "id": "6LkPygla_OXh" - } + ] }, { "cell_type": "code", - "source": [ - "# Import Numpy" - ], + "execution_count": null, "metadata": { "id": "Z8iSVv-r_WkT" }, - "execution_count": null, - "outputs": [] + "outputs": [], + "source": [ + "#test changes made by Me" + ] }, { "cell_type": "code", - "source": [ - "# Define the 4 matrices as A,B,C,D" - ], + "execution_count": null, "metadata": { "id": "r1pVl7LbA1_I" }, - "execution_count": null, - "outputs": [] + "outputs": [], + "source": [ + "# Define the 4 matrices as A,B,C,D" + ] }, { "cell_type": "code", - "source": [ - "# Print the 4 matrices" - ], + "execution_count": null, "metadata": { "id": "uJHj_CbhA83b" }, - "execution_count": null, - "outputs": [] + "outputs": [], + "source": [ + "# Print the 4 matrices" + ] }, { "cell_type": "code", - "source": [ - "# Find the Dot Product of matrices\n" - ], + "execution_count": null, "metadata": { "id": "MDcD7tOWBMzG" }, - "execution_count": null, - "outputs": [] + "outputs": [], + "source": [ + "# Find the Dot Product of matrices\n" + ] }, { "cell_type": "markdown", + "metadata": { + "id": "Rv1D09dyB0eP" + }, "source": [ "# ValueError: shapes (2,2) and (3,3) not aligned: 2 (dim 1) != 3 (dim 0)\n", "\n", @@ -89,36 +78,36 @@ "Else print \"Dimension Error!!\"\n", "\n", "\n" - ], - "metadata": { - "id": "Rv1D09dyB0eP" - } + ] }, { "cell_type": "code", - "source": [ - "def is_compatible(A, B):\n", - " pass" - ], + "execution_count": null, "metadata": { "id": "RmS0xS8tCjNC" }, - "execution_count": null, - "outputs": [] + "outputs": [], + "source": [ + "def is_compatible(A, B):\n", + " pass" + ] }, { "cell_type": "code", - "source": [ - "# Find Dot product only if the matrices are compatible" - ], + "execution_count": null, "metadata": { "id": "ds0XYSZ6E9nl" }, - "execution_count": null, - "outputs": [] + "outputs": [], + "source": [ + "# Find Dot product only if the matrices are compatible" + ] }, { "cell_type": "markdown", + "metadata": { + "id": "SR_JeHeEdWOX" + }, "source": [ "# **Task 2**\n", "\n", @@ -147,22 +136,42 @@ "At the end of the game, the function should print the final score.\n", "\n", "Your task is to implement this function in Python using the given rules." - ], - "metadata": { - "id": "SR_JeHeEdWOX" - } + ] }, { "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "0fxnUDma7aPx" + }, + "outputs": [], "source": [ "def up_down(rounds):\n", " pass" - ], - "metadata": { - "id": "0fxnUDma7aPx" + ] + } + ], + "metadata": { + "colab": { + "provenance": [] + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 }, - "execution_count": null, - "outputs": [] + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.12.6" } - ] -} \ No newline at end of file + }, + "nbformat": 4, + "nbformat_minor": 0 +}