From a29da590c0f742c851eb6ba30f6ca312c68227c1 Mon Sep 17 00:00:00 2001 From: "laneury.a" <> Date: Fri, 7 Feb 2025 14:48:11 +0100 Subject: [PATCH] ajout fonction points -non fonctionnel --- fonction_points.py | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/fonction_points.py b/fonction_points.py index 1c3a28a..a225fa6 100644 --- a/fonction_points.py +++ b/fonction_points.py @@ -1,9 +1,16 @@ +from math import * + def points (x,y): + milieu_de_terrain = 300 + cote_a = x + cote_b = milieu_de_terrain - y - if 250 250: return 3 else: return 2 - - -print(points (200,2)) \ No newline at end of file + +print(points (100,400))