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

The new personal care workers are planning a night out to celebrate the end of their probationary period. The teamleader responsible for the new staff is organi
A rectangular planter that is 4 feet long, 4 feet wide, and 2 feet deep uses three bags of potting soil. The amount of potting soil needed depends on the volume
Find the area of the shaded region. Write your answers in terms of pi.
involves political and economic control over a dependent territory usually for its natural resources.
1790.6204 = expanded notation?
What is the relationship between the slopes of AB and CD?
what happens to the energy in a molecule when it heats up​
According to Brutus, what is wrong with the government proposed by the constitution? What branch of government is the most dangerous?
Give me a sentence about anxiously
AT had endpoints at A (0,0) and T (5,-9) How long is AT