Code a program that gets all possible solutions of a string using 3 for loops. Actual question attached

Code A Program That Gets All Possible Solutions Of A String Using 3 For Loops Actual Question Attached class=

Sagot :

[tex]\tt x=int(input("Enter\:first\:no:"))[/tex]

[tex]\tt y=int(input("Enter\:second\:no:"))[/tex]

[tex]\tt z=int(input("Enter\:third\:no:"))[/tex]

[tex]\tt for\:x\:in\: range (3):[/tex]

[tex]\quad\tt for\:y\:in\:range(3):[/tex]

[tex]\quad\quad\tt for\:z\:in\:range(3):[/tex]

[tex]\quad\quad\quad\tt if\:x!=y\:and\:y!=z\:and\:z!=x:[/tex]

[tex]\quad\quad\quad\quad\tt print(x,y,z)[/tex]