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 statements best describes the formation of volcanoes?
9,835/63 what is the answer and what is the remainder
i hate this brainly thing so so so much
600+39 what does it add up to help
Determine the solution for 72 = 3(5b − 1). b = 3.5 b = 4.6 b = 5 b = 14.2
Rahi is pouring concrete to create the foundation of a square deck covering 112 square feet. Which is the best estimate of one side of the deck? Round to the ne
Location B is which place? Canaan Egypt Syrian Desert Mediterranean Sea
CAN YOU PLES FRIEND ME
Can someone help me? Im really bad at English ​
Write the equation so that a = 1: x2 + -6 x = -13 Complete the square: x2 – 6x + = –13 +