if len(listecourante) + 1 >= max :
commentaire="La liste atteint le nombre maximum d'elements : "+ str(max) +" ,ajout refuse"
return valide,commentaire,commentaire2,listeRetour
if len(listecourante) + 1 >= max :
commentaire="La liste atteint le nombre maximum d'elements : "+ str(max) +" ,ajout refuse"
return valide,commentaire,commentaire2,listeRetour