+ 1
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
3 Answers
+ 3
for patterns you might use for loops or while loops.
I remember making a pattern using for loops:
https://code.sololearn.com/c3YBXur3x2yz/?ref=app
+ 1
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