1..c in code block


I’ve used a dynamo script that someone else made and I’m trying to understand what the following code exactly does? (1…c) +""

c is just a variable. It stores whatever value is input into it. It could be c, it could be b, it could be a… whatever you want.

In that particular code block, it’s taking the input from the list.count node, and enters it into a “range” shorthand expression (basically 1…10 for example gives you all the numbers from 1 to 10).
The +"" at the end just converts the numbers to a string by adding a “blank” string to the numbers.


Ok thanks…that makes sense.