List parameter in function

Hi, I’m new of Dynamo.

When I pass a list as an argument of a function defined in a code block, I want to treat the argument as the original list, but it seems to be decomposed individually.


I want this function to return 3 as the answer.
What should I do now?

1 Like

I found my mistake. I just need to specify the argument types as a list.


thank you.