Aug-12-2020, 02:05 PM
...not quite. Need to replace
siblings[last_level] = 0with
siblings[this_level+1:] = [0] * (len(siblings) - this_level - 1)That should now be it. Hopefully.