From 225b769791063042e195f588bc858f2a810d8a32 Mon Sep 17 00:00:00 2001 From: 39781cc7cca0dc30af9d6060ede9947c <39781cc7cca0dc30af9d6060ede9947c@app-learninglab.inria.fr> Date: Wed, 1 Apr 2020 15:34:12 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20de=20la=20fonction=20round=20pour=20mea?= =?UTF-8?q?n=20(oubli=20commit=20pr=C3=A9c=C3=A9dent)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo2/exercice.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module2/exo2/exercice.ipynb b/module2/exo2/exercice.ipynb index dd552bc..a409432 100644 --- a/module2/exo2/exercice.ipynb +++ b/module2/exo2/exercice.ipynb @@ -39,23 +39,23 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 15, "metadata": {}, "outputs": [ { "data": { "text/plain": [ - "14.113000000000001" + "14.11" ] }, - "execution_count": 5, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], "source": [ "mean = np.mean(data)\n", - "mean" + "round(mean, 2)" ] }, { -- 2.18.1