def perm(str1):

    if len(str1) < 2:
        return str1

    res = []
    for i, c in enumerate(str1):
        for cc in perm(str1[i+1:] + str1[:i]):
            res.append(c + cc)
    return res
Returns:
dataset/ETHPy150Open bt3gl/Python-and-Algorithms-and-Data-Structures/src/builtin_structures/permutations.py/perm--crossover with--dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/type/core/tournament.py/LobbyEvent.summoner