Hello everyone,

I have: 

*sottociclo*

*5-element Array{Any,1}:*

* (1,2,5)                  *

* [(1,1,2),(2,1,5)]        *

* [(1,1,2),(5,2,5)]        *

* [(2,1,5),(5,2,5)]        *

* [(1,1,2),(2,1,5),(5,2,5)]*


*julia> **length(sottociclo[1])*

*3*


*julia> **length(sottociclo[2])*

*2*

How might I modify the code such that *length(sottociclo[1])=1? *
I need length(sottociclo[*]) be equal to the number of tuple in row *...
Thanks in advance for any help,

Michela 

Reply via email to