I need to make a 3d list with 216 items and count the results in a dict : I need to create a 6 x 6 x 6 table that has all the 216 possible three dice results. Considering that the same dice values in whatever order they come is the same result (eg (1,4,6) is the same as all the 1, 4, 6 transformations, ie (6,4,1) or (4,6,1), and so on).

Then i want to calculate the frequency of different results and print them
sorted by increasing incidence.(maybe with dictionary?)

so i made this list:

    mylist = [[[(x,y,z) for z in range (1,7)]for y in range(1,7)]for x in range (1,7)]

and i have all the 216 possible results.

But i can't make it work for counting them and find the same results...

Can you help me?