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

Please select the word from the list that best fits the definition an organization that seeks to gain power through legitimate means.
If $\frac{x}{2} \frac{y}{3} = 1$ and $\frac{x}{4} \frac{2y}{3} = -1$, what i the value of the um of $x$ and $y$? Help Pl
A gram i a unit of meaure ued in medication order and precription, and i abbreviated a
What is x when x=2-4+5
Compared with people in developing countries, people in industrialized countries are more likely to eat.
Please help geomotry
6x-3y=1 what is the solution to the system
Ivan,Bella, and Ian agreed to hare a pizza which wa cut into 10 lice. Ivan at 40% of the pizza
Sally is going to furniture shopping using her credit card. if her credit card has a limit of $2000 and she is currently holding a balance of $763 how much can
4. You take a running leap from a diving board at 1.5 m/s and hit the water 1.5 seconds later. How far (horizontally) from the diving board did you land?​