WIP: nettoyage, encore... (+ erreur affichage)
This commit is contained in:
parent
3517e73de4
commit
7e6f5023a1
|
@ -46,9 +46,14 @@ for i in l:
|
|||
if (i.id == j.parent):
|
||||
i.add_child(j)
|
||||
|
||||
affichage = ''
|
||||
|
||||
for i in l:
|
||||
cnd = str(i.id) + ' ' + str(i.parent) + ' [' + str(len(i.ch)) + ']'
|
||||
print(cnd)
|
||||
affichage = str(i.id) + ' ' + str(i.parent) + ' n=' + str(len(i.ch)) + ' ['
|
||||
for c in range (0, len(i.ch)):
|
||||
print(str(i.ch[c].id))
|
||||
affichage + str(i.ch[c].id) + ','
|
||||
print(affichage,']')
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue