Suppose I have a set S=["a", "b"] and a number L=2. What function or standard library tool when passed S and L would yield [["a","a"], ["a","b"], ["b","a"], ["b","b"]] in no particular order?
I'm sure there's a simple answer, I've just been working on my program so long that my brain has been scrambled.