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

I need help with this also I had was to repost it again because someone deleted it
Which is not part of the company environment that influences marketing decisions.
Translate sum of 4 and the quotient of n and 9
_______ were mostly poor Europeans and not as many, so European settlers turned to enslaved Africans as a cheaper form of labor.
what are the main uses of charcoal for grade 8​
Why is Grace so upset in The Westing Game, Chapter 22.
An animal shelter receives a shipment of items worth a total of $1890. Large bags of dog food are $8 each, pet blanket are $5 each, and dog toys are $4 each. Th
Democracy is one of Greece's contributions and has the widest influence in the world. How would you describe democracy? A. Democracy is a type of O government w
which languages and literatures were developed in Medieval Age?​
Please help! Thankss!! :)