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

DF is the altitude to the hypotenuse EC. What is the length of DE? Select the best answer from the choices provided. A. 3 B. 6 C.12 D. 24
What happened on October 29, 1929? What “crashed”?
help for abunch of points.
how can the government promote industrial development in south africa?​
how many metres of wire is needed to fence a circular pond of radius 7.7m if the fence is to have three strands of wire all the way around .Give your answer cor
what is the modern concept of history?
2x² - 5x+1 has roots alpha and beta. Find alpha⁴+beta⁴ without solving the equation.Please answer fast step by step. I will mark the best answer as brainliest.
Round 475,805 to the nearest ten thousand.
What is one thousand minus on hundred and ten
Justify every social evils creates social problems