From 46829ccbee635caa54bcde7e5474d044adc3f2e8 Mon Sep 17 00:00:00 2001 From: Fadoras Dariane Date: Tue, 6 Sep 2022 00:58:21 +0200 Subject: [PATCH] update --- essence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/essence.py b/essence.py index 07ffcc0..9b34468 100644 --- a/essence.py +++ b/essence.py @@ -40,6 +40,6 @@ for i in range(len(distance)) : #moyenne -moyenne = sum(resultats)/(len(resultats)+1) +moyenne = sum(resultats)/len(resultats) print(f"Moyenne : {moyenne:.3f} L/100km")