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

A 40.00 ml sample of 0.10 m weak acid with ka of 1.8×10−5 is titrated with a 0.10 m strong base. what is the ph after 20.00 ml of base has been added?
How are a pyramid and a cone similar
HELP!!! what is x? x2/4*=50
a triangle with a base of 6cm and a height of 8cm is similar to a triangle with base 21cm. What is the height of the second triangle
Which of the following rights are protected in the First Amendment? Select all that apply.
What is patellofemoral syndrome?
What factor(s) can influence obesity? What are the risks of obesity? Know the functions of the 6 essential nutrients. Function of unsaturated fats. What role do
What proof is there that god is real?
this is really easy i just need help
Given log4(3) =0.7925 and log4(5) =1.1610, use log properties to find log4(240).