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

what are some of the natural disasters that mexico experiences?
What number is 3/4 of 65
PLEASE HELP I NEED THIS DONE PRONTO:(
Find the sum of the interior angle measures of the polygon.
5. Which characters from the story fit these descriptions and why?
What was the main weakness of Bohr's model of the atom?
. Which number is a multiple of 7? A 63 B 72 C 81 D 94
−4x−21=91 helppppppppppppppppp
40!! A) NO CHANGE B) states have passed additional restrictions' C) states have passed additional restrictions D) states' have passed additional restrictions
What gives the right to express ideas and opinions through speech?​