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

Which of the following correctly describes one of ancient Rome's legal contributions, the rule of law? A. Roman citizens were treated differently based on their
Can someone please help me it would warm my heart please Should children be detained and sent home even after experiencing violence in their home countries? Sho
hello please help i’ll give brainliest
Rita is appointed as an agent for Superior Sales, Inc. The agency agreement is silent as to the level of sales that Rita is expected to achieve. She must Group
Which number line shows the solution to the inequality 4x - 3> -7 ?
7.5.One factor not likely to bring about cultural change in society isA. formal education.B.high birth rate.informal education.C.D.superstitious beliefs.6.Akans
SOMEONE PLS ANSWER THIS IK THERES NO PICTURE WITH IT BUT I NEED THE ANSWER BADLY. Do you think what you observed is evidence that genes are instructions for pr
im confused please help
What is the median of this data set? Enter your answer in the box. median =
What events occurred in England that caused religious groups to migrate to the New World? (pls in your own words)