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

Ratio 5:9 in fraction
Describe why the prime factorization of a number is sometimes written with exponents?
What fractions are equivalent to 11/22
the sum of 3 times a number and 7
What adds the element Carbon to the environment?
Which Cold War incident broke off important talks between Eisenhower and Khrushchev in 1960?
Which of the following are the jovian planets? Jupiter, Saturn, Uranus, and Neptune only only Jupiter and Saturn everything past Mars and the asteroid bel
round each number to the nearest hundred 1,427
The process by which a cell divides into two daughter cells is called A. cell division. B. metaphase. C. interphase. D. mitosis.
Hi can tell what A x-21 =