lumpkinh
lumpkinh lumpkinh
  • 03-02-2022
  • Computers and Technology
contestada

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=

Respuesta :

Аноним Аноним
  • 03-02-2022

[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]

Answer Link

Otras preguntas

simplify the fraction 34%
The sum of two numbers is eleven. One number is thirty-eight less than six times the other. Find the numbers.
What are some options available in the Spelling and Grammar Checker? Check all that apply. Redo Undo Ignore All Ignore Once AutoFormat Add to Dictionary Readabi
Looking up at the birds, our car hit a tree.
Chloringexplinof mouthowa chcede chingachievedBromineChlorineor 아 tharand loding are mombersDESCHIDE how thoseroachvity:166 same group with3. Couldbearrayed in
7/5 + 2/3 - 1 = ayuda porfa
Please help me with this
A can do a work in 14 days and working together A and B can do the same work in 10 days. In what time can B alone do the work? (i dont get this one, please expl
What formulae can be used to solve quadratic equation in two variables?​
an elastic material of length 3m is to be stretched to produce an extension three times it's original length. Calculate the force required to produce the exten