def perm2(str1):
    from itertools import permutations
    return [''.join(p) for p in permutations(str1)]
Running group_to_principal twice has no effect
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/builtin_structures/permutations.py/perm2--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestUtilities.test_group_to_principal_twice