Get contacted by recruiters directly with our newest chat feature!
Register now or log in to join your professional community.
from itertools import permutations
perms = [''.join(p) for p in permutations('stack')]
perms
len(perms)
Cancel Report Answer