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

Select the values that make the inequality m 4 true. Then write an equivalent inequality, in terms of m. (Numbers written in order from least to greatest going
1. The report tomorrow (finish).​
1. The report tomorrow (finish).​
For each function f, find f^-1 and f^-1(5). f={(-1,5), (0,0), (2,6)}
Please, i need help for part b, my hw is due tomorrow, please help, any help will be appreciated, The graph shows the speed of a vehicle during the final 50 s
The value of 3 in 6,300 is _____ times the value of 3 in 530.
With a $230,000 annual profit achieved from a $2,000,000 investment, the return on investment (ROI%) for a business would be
anyyyy girrllll online hereeeere m soo bored​
anyyyy girrllll online hereeeere m soo bored​
Plot A(2,3) and B(2,5). What is the midpoint of points A and B?