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

(1) Health education helps to prevent fatal diseases​
What are two ways how Spanish and Portuguese colonization impacted the native populations of South America?
d. Make a list of the effects caused due to conflict.​
show that the lines x2-4xy+y2=0 and x+y=3 form an equilateral triangle also find area of the triangle
I'M CRYING RIGHT NOW!!!!
A box has 16 candies.12 red and 4 yellow.If you were picking candies from the box without looking.How many candies would you have to pick up to be certain to fi
Find the volume of this right rectangular prisms. ) A) 80 cm3 B) 96 cm3 C) 192 cm D) 768 cm 71
if a terrorist attack occurs near you, you should
1 inch 7 1 minute 14
PLEASE HELP WILL GIVE BRAINLIEST AND 5.0 RATING