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 client has 6/10 knee pain at the beginning of a workout. at the end of the first set of the lateral step with a mini-band his knee pain decreased to 4/10. at
A right angle intersects a line at point M. A right angle intersects a vertical line at point M and forms 3 angles. From top to bottom going clockwise, the angl
Find the area of the shaded polygon.
help please thank you!!!
Which change is an example of transforming potential energy to kinetic energy?
what color and how many missing the socks is (color and how many)
Which factor most influences the speaker’s perspective? age gender race location.
Keeping blood in the different chambers of the heart from mixing is a function what structure?.
Fear Meryl Turner, an eighth grader at Ashmore Middle School, was furious when her mother, Sandra, enrolled her for swimming classes without her permission. S
If 35% of a number is 56 and 25% of the same number is 40 find 60% of that number