pearceso187446
pearceso187446 pearceso187446
  • 02-12-2020
  • Computers and Technology
contestada

write a program which calculates the difference between two integers which are entered by the user. The answer should be a positive integer regardless of the order in which the integers are entered. ​

Respuesta :

Cytokine
Cytokine Cytokine
  • 02-12-2020

In python 3.8:

print(abs(int(input("Enter a number: "))-int(input("Enter a number: "))))

Answer Link

Otras preguntas

A company makes $1 million in after-tax profits for the year. It spends the entire amount on new equipment. Which of the following is true? a. Its leverage rati
Which compound inequality has no solution? Oxs-2 and 2x >6 Oxs-1 and 5x s5 Oxs-1 and 3x >-3 Oxs-2 and 4x s-8 HURRY PLSS
ABCD is a parallelogram. Find the measure of ZABC. HELPPP
Which Supreme Court ruling said that blacks could not become citizens of the United States? A. The Fourteenth Amendment B. White supremacy C. Indentured servitu
why reverberation doesn't occur in well furnished room?​
i found the money the money belonged to jack connet with the correct relative pronoun​
What directional guide does the image give? A. para aquí B. sigue recto C. ve derecho D. da la vuelta edback
Match the vocabulary word to the definition. (Thirteen Colonies Vocabulary)
where are white and green mountains located
The ___ was an agreement with Spain that opened the Mississippi River.