hi,
I am not sure why the node in python add the comment in the wrong list, it should apply the comment on the short pipe [1], but it added on the wrong one [0]
Hi @abdu2736,
To keep the structure of your list, you need to apply a second condition.
For example :
xVal = IN[0]
xout=[]
for x in xVal:
if x<600:
xout.append("Less than 600 Pipe is " + str(x))
else:
xout.append(x)
OUT = xout
thank you