Problems with len


#1

in IN [0] = 8 points
Python len (IN [0]) = 1, no 8
why ??
use version 0.7.6.3992
Thanks for your cooperation

 

 

 


#2

I forgot image

len


#3

len() is working correctly. Your points are in a nested list with exactly one sublist, hence the output of 1. Flatten your list first before passing it to the Python script and len() will return 8.


#4

Thanks Andreas for collaboration … I solved … Regards