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

Someone pleaseeee help. 1-The two bases that are purines are: 2- The two bases that are pyrimidines are
an electromagnetic wave in a vacuum has a wavelength of 0.07 m. what is its frequency ​
predict the number of each atom needed to form a molecule of potassium Sulfide.
what is 10x10????????????????/
What encourages produces to reduce costs and increase revenues? Question 15 options: marginal analysis the profit motive opportunity costs the production possib
I am so lost can someone help me and explain these to me... step by step... i really need help... i just dont get it...
Help me with 12 and 13, please! The question is, “Write a subtraction number sentence for the models shown.” Please explain too!
Type the correct answer in each box. Use numerals instead of words. If necessary, use / for the fraction bar(s).
How many centimeters (cm) are in one meter (m)? 100 cm = 1 m 1 cm = 1 m 50 cm = 1 m 10 cm = 1 m
How do you use the periodic table?