Posts by Rômulo Silva Souza Santos • 11 points
1 post
-
0
votes1
answer169
viewsQ: soma_ll function that receives a list of lists and returns the sum of all numbers
def soma_ll(lista): return lista[0] + soma_ll(lista[1:]) Why doesn’t my test run? def test_600_soma_ll(self): self.assertEqual(soma_ll([1,2,3]),6) self.assertEqual(soma_ll([1,2,3,4]),10)…