Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
sage: L2a = flatten([[perm]*count for perm, count in zip(Permutations(3), prof)])
sage: L2b = sum(([perm]*count for perm, count in zip(Permutations(3), prof)), [])
sage: L == L2a == L2b
True

functional 4tw!