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 a Dakota sugar camp?
What direct impact did the effort of individuals like Ava deer have?
what’s elaine’s weekly allowance
The graph below illustrates 2 intersecting lines. If a new line is drawn so that it passes through the red line at y = 0 and the blue line at x = –1, what is th
Write 2 to the 100th power as an exponent with a base of: 32 HELP ME!!!!!!! D: BRAINLIEST TO THE FIRST CORRECT ANSWER/ 50 POINTS!!!!!!
The substance formed when covalent bonds unite atoms is called _.
Element Atomic Number Number of Protons Number of Electrons Number of Neutrons Mass Number Carbon 12 8 8 Hydrogen 1 10 Using the chart above,
Which of the following used fat reserves to produce atp
Which detail is LEAST essential for an argument or discussion about Queen Victoria's indomitable will? A) After 1898, Queen Victoria struggled with her eyesight
What is stored in carbon