WIP: arbre des conditions: première ébauche

This commit is contained in:
Jean Sirmai 2021-12-11 22:05:13 +01:00
parent 7e6f5023a1
commit a009d0e402
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 5 additions and 5 deletions

View File

@ -49,11 +49,11 @@ for i in l:
affichage = '' affichage = ''
for i in l: for i in l:
affichage = str(i.id) + ' ' + str(i.parent) + ' n=' + str(len(i.ch)) + ' [' affichage = str(i.id) + ' ' + str(i.parent) + ' n=' + str(len(i.ch)) + ' '
for c in range (0, len(i.ch)): if len(i.ch) > 0:
print(str(i.ch[c].id)) for c in range (0, len(i.ch)):
affichage + str(i.ch[c].id) + ',' affichage = affichage + str(i.ch[c].id) + ', '
print(affichage,']') print(affichage)