Code block not calculating zero?

hello, is there a reason the code block is not calculating zero? this list.count node is calling 0 from an empty list as intended, but when put this zero into this code block as follows it is failing ‘null’ and I even tried to see if it was a good value as pulling it as an integer and refeeding it but it still fails. Whats going on here and how do i fix it? Please advise

If you look at the syntax of the code block, you are basically saying “create a range that starts at 97, ends at 96, with steps of 1”.

It looks like you have your X/N inputs backwards. Swapping them would give you “create a range that starts at 1, ends at 96, with steps of 1”.

1 Like