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

Reflecting and refracting telescopes are used to gather radiation from space. Which of these statements best explains why a refracting telescope is made smaller
What us the latin antonym of the latin word "bene"?
Help me please The question is down below Thanks
The distance Train A travels is represented by d=70t,where d is the distance in kilometers and t is the time in hours.The distance Train B travels at various ti
There were 242 Cans of Soda. After 56 cans of soda Were sold.a Clerk Moved the remaining cans to A display case.the display Case had shelves that could each hol
What is the solution to this equation? 3x - 6 = 18 A. x = 72 B. x = 36 C. x = 4 D. x = 8
How to Write a coherent essay?
is 1/3 and 2/6 equivalent
A large group of stars &a dust bound together by gravity
What is the reciprocal