Removing values from a list (Shortening it in the process)


#1

Hi Guys,

I have a list in Dynamo that is largely made up of 0’s. I would like to remove these 0’s thereby shortening the list as opposed to having a list full of ‘null’.

I’m sorry I don’t have a picture at the moment (posting from phone).


#2


#3

Hi, try some python code:


#4

Both worked excellently for me. Thank you very much.