diff --git a/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb b/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb index bc23d73f539f9345bb86add08c457b9c0e1e6e1c..c4bd3e90cc64459f8705b6d7ec6c38dafb180682 100644 --- a/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb +++ b/notebooks/Block_0/Exercise Sheet - Basics Numpy.ipynb @@ -116,7 +116,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -124,7 +124,7 @@ "output_type": "stream", "text": [ "The given weights and lengths result in BMI's: \n", - "None\n" + "[19.59 22.22 20.94 24.93 31.38 19.74]\n" ] } ], @@ -135,7 +135,7 @@ "\n", "def BMI(weight, length):\n", " # Function returning the BMI of input vectors m and l\n", - " return \n", + " return np.array(weight) / np.array(length)**2\n", "\n", "\n", "m_example = [60, 72, 57, 90, 95, 72]\n",