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

Headphones take in sound waves. This is an example of ... A)reflection B)absorption C)transmission D)refraction
Tell me of a time you failed at something. How did it make you feel? What happened after you failed? PLS GIVE EXAMPLES :)! GIVING 10 POINTS :)!
1. RESEARCH PROJECT TASK. It’s due already plz help plzzzzz! Complete the following task to begin planning your research essay. Consult a general source, su
Pls help I will give brainlest who ever get first I am in a timer!
Find the quotient of: 3 1/3 ÷ 2 3/5 (Simplify if necessary)
Which of the following elements has a mass number of 19 and contains 10 neutrons? A. potassium (K) B. neon (Ne) O c. fluorine (F) D. copper (Cu)
what was the importance of the wiskey rebelion
Mr. Jones is driving his car. He notices that he has traveled 6 miles in the last 10 minutes. How far will Mr. Jones travel in the next 15 minutes if he continu
Find the value of x PIC IS BELOW
Solve for x 2x+3≥−1 Please