hello
i need way to apply this script for element in list to achive this result
Try this:
Items = IN[0]
result=[]
for i in Items:
if i == "wlc1" :
result.append(5)
elif i == "wlc2":
result.append(6)
elif i =="wlc3":
result.append(7)
else:
result.append(0)
OUT = result
Note: Haven’t tested, typed from the phone.
4 Likes
thanks a lot it works