My Permutation Algorithm During learning Python, I challenged myself to write my own permutation algorithm using my own logic. And this is what I came up with.