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

What is the direct object in the sentence "Some animals grow and undercoat of soft hair during cold months
What should you do to solve the problem of exposure to your mom's secondhand smoke in the house? A. Talk with her about it B. Stay in your room C.Leave pamphlet
I have 30 ones, 82 thousnads, 4 hundred thousands, 60 tens and 100 hundreds. what am I?
what is the least common multiple of 10 15 25
A 22-ft by 28-ft rectangular swimming pool is surrounded by a walkway of uniform width. If the total area of the walkway is 336 ft2, how wide is the walkway?
which part of an atom has most of its mass
how to round 0.64 to the greatest nonzero place
I NEED THE ANSWER!!!!
What social issues that could lead to social injustice?
Why was Susan B. Anthony so significant during the Progressive Era? -She was the first woman doctor in the United States. -She was the most well known women’