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

changes caused by the scientific revolution, the Enlightenment, and the Industrial Revolution
171) Sociology studies why a person decides to join certain groups. A) False B) True
PLEASE ANSWER!!!! 100 POINTS AND BRANLIEST TO WHOEVER ANSWERS CORRECTLY!! Exercise A: Underline the word or phrase that makes each statement true according to
who should be making the economical decisions during industrial revolution?
need help with this pls
What is the length of the hypotenuse of the triangle? Triangle A B C. Side A C is 7 feet and side C B is 4 feet. Hypotenuse A B is unknown. StartRoot 22 EndRoot
!!!!!!!!!!!!!!!!!!!!!!!!!HELP!!!!!!!!!!!!!!! Find the slope of the line.
How many people are evacuating through Ukraine’s railway service
Which of the following does water pollution affect: surface water, ground Water, or ocean water?
I WILL GIVE THE BRAINLEST TO WHOEVER ANSWERS THIS FIRST PLS I NEED HELP AND QUICK. What is the difference between a scientific theory and a scientific law? O A