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

in an expression(8/9) squared (-81)+3/5dividedby-9/10
Nadine can send or receive a text message for 15 cents or get an unlimited number for 5 dollars. Write and solve an inequality to find how many messages she can
in an expression(8/9) squared (-81)+3/5dividedby-9/10
in what ways is climate controlled by the sun and the water cycle ?
You have a cylinder with a diameter of 15 inches and a height of 12 inches. What is the volume of the largest sphere thg will fit inside it? If you can will you
in an expression(8/9) squared (-81)+3/5dividedby-9/10
A child is standing across the street from his apartment . His mother is on their balcony . The angle of elevation between the child's eyes and his mothers eyes
What three islands are located off the East African coast
Can u paraphrase the quote ”let things take their course”
in what ways is climate controlled by the sun and the water cycle ?