Jan-10-2019, 03:38 AM
I have one 3d list of tuple
Any suggestions?
list=[(0, 1, 6), (5,1,4), (1, 6, 0), (3, 2,1),(4,5,1)]I want to add in a dictionary like this:
{ (0,1,6): 2, (4,5,1): 2, (3,2,1): 1 }I want to count the similar tuples.
Any suggestions?