WIP: arbre des conditions: première ébauche
This commit is contained in:
parent
7e6f5023a1
commit
a009d0e402
|
@ -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)) + ' '
|
||||||
|
if len(i.ch) > 0:
|
||||||
for c in range (0, len(i.ch)):
|
for c in range (0, len(i.ch)):
|
||||||
print(str(i.ch[c].id))
|
affichage = affichage + str(i.ch[c].id) + ', '
|
||||||
affichage + str(i.ch[c].id) + ','
|
print(affichage)
|
||||||
print(affichage,']')
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue