Browse Source

fonctionnelle

master
laneury.a 2 weeks ago
parent
commit
4622753c01
  1. 7
      fonction_manque.py

7
fonction_manque.py

@ -16,14 +16,15 @@ def manque (joueur):
pass
else:
action = lst_elements[1].split('-')
#print(action)
if action[1] == "manque":
action = lst_elements[1].split('-')
if action[1] == "manque" or action[1] == "rat":
nbr_act_manque = nbr_act_manque + 1
return nbr_act_manque
""""tests pour la fonction"""
for i in range (1,11):
joueur = "J" + str(i)
print(joueur,manque(joueur))

Loading…
Cancel
Save