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

two containers have different solute concentrations. after osmosis occurs between the two containers, which is true?
I need help with # 8,10,12,14,16,18
What word have a root that means write
After researching the rock they found, Mary and Jim believe it contains large pieces of the mineral limonite. They observed that their rock was yellow in color.
1 1__+ ____ help me i forgot 8 9
I'm having a bit of trouble with this question, all it says is '2k = 26'
Homeostasis refers to A. the tendency of a cell to maintain a stable internal environment B. the similarity of genetic traits to one another. C. a mixture or so
Which words have a root that means speak please answer fast
nucleotides are the basic unit of which macromolecules
Identifying Human Impacts on the Environment Identify whether each of the following descriptions are true or false. To sustain fossil fuel resources, alternativ