+ 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

4th Jun 2020, 5:51 PM
stephen haokip
stephen haokip - avatar
3 Antworten
+ 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
4th Jun 2020, 5:59 PM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 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
4th Jun 2020, 6:12 PM
Abhay
Abhay - avatar
21st Jul 2020, 1:07 AM
shubham kumar
shubham kumar - avatar