Feu una funció suma en què, donada una llista de
llistes que representa una matriu, retorni la suma dels seus
elements.
Entrada
La funció rep una llista de llistes com a paràmetre.
Sortida
La funció retorna un nombre com a sortida.
Observació
La solució requereix utilitzar un bucle dins d’un altre.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.