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

You will always find me in the past. i can be created in the present, but the future can never taint me. what am i?
2.5 in scientific notation
what were the major non english groups that migrated to america and why
What is the concept absolutism
It is important for your group to develop a ___________ of viable options. a. lot b. bunch c. list d. variety Please select the best answer from the choices pro
True or False: A credentialistic meritocracy is dependent upon the utilization of ascriptive variables and why?
The theological name for the rescue of figures like Noah, Abraham and David by “a mighty One / Crowned with the symbol of his victory” is ________________. th
A group of various species that interact with each other is called a _____. family species population community
a mile is 5280 feet. between which two integers is the elevation in miles
dayo read 4/5th of a story book which has 500 pages. how many pages of the book is not yet read by dayo?