I\'m trying to make a list of permutations prefixed by X and suffixed by Y. Here are a few examples of what I\'ve tried.
perm = permutations ([1,2,3], 3) fo