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

write a paragraph that explains how Confucianism supported the idea of a strong central government in China​
OMG PLSSSS HELP I NEED THIS NOW!!!!!!! I have 1/2 of a cake left. I need to divide it equally among 3 people. What fraction of the whole cake would each person
what is the main function of the tongue​
which of the following is a statement of the first law of thermodynamics?
solve for x -5(-x+1)-3x-1=-12
what is 100 for $10.00 as a rate
PLS ANSWER FAST THANK UU
A(n)_________________ is a substance that cannot be broken down into other substances, aa pahoehoe friction viscosity element silica compound carbon
What is the decimal value of the hex number ABE?
y = 3 - 5x solve for x