I've been googling away like a mad man but can't anything that is specific enough for me to get started. Please forgive me for my complete noobiness and possibly diabolical skim reading ability.Essentially, I have a questionnaire with 9 questions, each with 2 possible answers. After doing the math (2^9), I know that there are 512 permutations.I am looking to generate a list of all the permutations, without any repetition, to provide me with a list of possible answer combinations.I would like my output to look similar to this:112112111Where the 1s mean that the person selected answer "a" for a question and the 2s mean the person has selected answer "b".Any help would be appreciated, thank you.