Posts by Douglas Rodrigues • 23 points
1 post
-
2
votes1
answer400
viewsQ: How to count the elements of a list
I have a list that stores data: [(pizzas, 'COMIDA'), (1, 'QUANTIDADE'), (chocolate, 'SABOR'), (1, 'QUANTIDADE'), (catupiry, 'SABOR'), (1, 'QUANTIDADE'), (morango, 'SABOR')] I’d like to check what’s…