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

Which organelle appears to be empty but is filled with liquid? A.cell membrane B.chloroplast C.vacuole D.ribosome. Help ASAP PLEASE
Disease transmission through contaminated food can be reduced by proper cooking techniques and regulations. Please select the best answer from the choices provi
Fish are thought to have descended from ostracoderms.
In "Death, Be Not Proud," the speaker is addressing his words to a. his father. b. Death. c. God. d. an old man.
Help plz I can't cosintrat
Show some pictographic sentence that describes a phrase often assiocated with Hammurabi
how do you graph y=5x+7
Once a bill passes both chambers, the only way it can become law is if it is signed by the President of the United States. t or f
True or false: 7 is not a factor in assessing community risk
what are integers? the teacher told us but i was confused.