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

The Silk Road was “discovered” by __________. A. Marco Polo B. Genghis Khan C. General Zhang Qian D. Kublai Khan
12+5v=2v-9 please show step by step!
When is periodic data useful? Give examples to support your answer.
The fact that participating in an internet auction means that you will need to purchase a computer, learn to use it, and pay for internet access, is an example
Complete the sentence: Yo Quiero blank Una bicicleta.
The largest proportion of federal revenues comes from
Islamic fundamentalism in iran and christian fundamentalism in the united states demonstrate that
A full-time college student has just become a college dropout. the chances that alcohol was a factor in dropping out is about:
Another challenge to remarried families is that roles of stepchild and stepparent are __________.
hey can you please help me posted picture of question