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

find the slope of the line that passes through points(2,6) and (3,5)A. 11/6B. 1C.-1 D. 11/5
Need help on a-e (Please label them a-b)
which aspect of the Roman Catholic church established in the 300s remains today
Read the passage. Rita had been on summer vacation for five weeks. The first few weeks had been great. She had gone on a trip with her friend’s family to Flor
Arrange the steps in the correct order to describe how a reflex occurs. A receptor detects a signal. A relay neuron sends a signal to a motor neuron. A sensory
which was a primary reason for the disaster at fort duquesne
Where did the Huns not invade?
Which statement best describes the role of the popes in the Middle Ages? A. They were opposed to mixing spiritual and secular duties. B. They were secular le
Most of the decisions we make behind the wheel are based on ____
What are next four fractions after 3/4,1,?