1 changed files with 15 additions and 1 deletions
@ -1,3 +1,17 @@ |
|||
# basket_Robinet_Michelat_Leenaerts |
|||
|
|||
Code du projet NSI sur l'analyse automatique des tirs de basket. |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
def points (x,y):"""la fonction doit prendre en paramètres x et y |
|||
les coords du point d'action et doit renvoyer 2 ou 3 en fonction du point de tir""" |
|||
if x<250 or x>750 and 50<y<550: |
|||
return 2 |
|||
else : |
|||
return 3 |
|||
Loading…
Reference in new issue