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

You see a used car you wish to buy. The dealer quotes you a price of $9,550. You have a blue book quotation of $8,400 for the same model and year. How much mark
How many teams of 4 would be made if there were 9 horses in the stable
Daunting is to challenge as regrettable is to
During which phase does the moon receive sunlight only on the side facing away from earth?
what is the word of someone who is smart but un a sneaky way
how much of a person's weight is water?
The interstitial endocrine cells that produce testosterone are located ________.
/ is the fraction line. What is the input value for the following function if the output value is 6.2? y = x/10
For adults age 19–50, Dietary Guidelines recommend consuming at least _______ of vegetables and fruits daily. A. 3 cups B. 1 to 2 cups C. 4 to 5 cups
If m<1=70 degrees and <1 and <2 are supplementary angles . Find m<2