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

answer for brainlest and 10 points
Complete the table by choosing the correct food group for each food listed. Select the correct answer from each drop-down menu. Food Food Group 1. queso 2. pesc
Question 3 The population of a sample of bacteria triples every minute. If the initial population of the sample is 2 bacteria, Nicholas believes the equation p-
I need help on Section 5- Topic 10 Algebra Nation, Algebra 1 Practice book. If anyone could give me answers to the questions, I will be extremely thankful!
solve the inequality 4x + 6>22
given 2x - 9y - 12 = 0, express 5x - 4y + 7 = 0 in terms of x only
select all the values of x so g(x) is not a function.
PLEASE HELP! I DONT KNOW WHAT TO WRITE!! how has your reflective thinking developed this year
What do these symbols mean?
What is the ratio of the offsprings physical appearance