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

in 2018, 2019, and 2020, how many people were diagnosed with AIDS? please add a graph or chart.
AD contains BC and AD=40. A point on AD is chosen at random. The probability that the point is also on BC is 0.2. What is BC?​
What is the process by which individuals that are better adapted to their environment survive and reproduce more successfully than others do?
Pool:swim:: bed: analogy A. Sleep B. Rub C. Comfortable D. Sheets
what is the area of the figure below? 35 41 46 51
How the Pare and Hunter similar? Please help me this is for exam prep that I'm really failing Please Please Please help me!
2. Retribución que debe pagar el patrono al trabajador por su trabajo​
The radius of a circle is 12 centimeters. Calculate the area of the circle?​
Help i need all 3 done
describe how a vaccine would work to prevent gonorrhoea