def createNode(size, stop):
    if stop>0:
        return Node([
            Node.Child('{0}_{1}'.format(stop, i), createNode(size, stop-1))
            for i in range(size)
            ])
    else:
        return Node([])
dataset/ETHPy150Open Evgenus/protocyt/protocyt/examples/benchmark/main.py/createNode/original