l = [1, 2, 3, [3]]print(len(l[-1])) # Esto imprimirá 1, que es la longitud de la lista interna [3]
Standard input is empty
1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!