Guys i want to write/print a pattern | SoloLearn: Learn to code for FREE!


Guys i want to write/print a pattern

A pattern consisting of all possible combinations of the letters A B C from top to bottom, in which repetition is allowed For example- ABCABC ABCABC ABCBCA I just know that it will consist of 27 columns. But i cannot get any further than this. Any help will be much appreciated

6/4/2020 5:51:56 PM

stephen haokip

3 Answers

New Answer


for patterns you might use for loops or while loops. I remember making a pattern using for loops:


I just checked in python just to see that you are actually giving example of Permutations and talking about combinations ,lol ,also learn about how combinations and permutations are performed since you seem to be confused about two