Hello Everybody ,
I have a problem with python scpripting in dynamo. My script works in online interpreter correctly but in dynamo there is no output or error. It says empty for OUT variable. I checked list1 and list2 . I ve tried to add only list1 or list2 to the OUT variable and it happened. I have tried the all script and it gave me empty OUT variable. I couldn’t understand the problem. Thanks for helping.
list1=[1,3,5,4,2] list2=[[5,"db"],[2,"cfk"],[3,"vnvod"],[1,"nrı"],[4,"fmro"]] result= for j in list1: for i in range(len(list2)) : if j==list2[i]: result.append(list2[i]) OUT=result print(OUT)