4
I have a Python array composed of arrays. But these arrays can have different sizes. For example:
matriz = [[1,2,3],[4,5,6,7],[1,2,3,4,5,6]]
What I want to know is if there is a medium (some python function) that gives me the size of the largest array of this matrix.
For example:
x = funcao(matriz)
that would return x to value 6 (array size at position 3 of the matrix).
Very good! Python always surprising me
– Math
@Math, key can take with methods, even you can make them using lambda
– Miguel
Cool! + 1
max
looks well designed!– JJoao
(: Obagdo @Jjoao
– Miguel