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

(MC) Which of these statements reflects conditional mood? (5 points) Is it possible to go to the movie tomorrow? We should go to the movie and have popcorn. If
What type of document is a mobile device's EULA?
A car that costs $52,400 depreciates at the rate of 9.8% every year. how much in total, to the nearest cent, will the car depreciate after 10 years?
In 500 B.C., the Roman government began to institute which changes?
what is the solution to y-2>1
a 9 gram sample of a substance that's used for drug research has a k-value of 0.1459
A large arc of fertile farmland
enumerate the 2 importance of diffusion and osmosis.
Jim is being treated for hypertension. because he has a history of heart attack, the drug chosen is atenolol. beta blockers treat hypertension by
Question 1 The Nuremberg Laws stripped individuals of the Jewish faith of all of their rights and forbid them to marry outside their sect. True False . 1 poi