Madeline5934 Madeline5934
  • 30-12-2021
  • Computers and Technology
contestada

how to find the difference between 3 numbers in python

Respuesta :

sanjaysanjayclassroo
sanjaysanjayclassroo sanjaysanjayclassroo
  • 30-12-2021

Answer:

def difference(x, y) :

if x >= y:

print("The difference between 3 numbers ", x

-y)

else:

print("The difference between 3 numbers",

y-x)

print(difference(5, 3))

Answer Link

Otras preguntas

who was the first president of the united states
explain how the role of the federal government changed during world war 1​
2 PointsWhat was one way Renaissance artists kept their new focus on science andaccuracy while still getting paid by the church to paint?OA. They painted religi
A washer and dryer cost $992 combined. The washer costs $42 more than the dryer. What is the cost of the dryer?
In what way did the states create economic problems for the national government after the American Revolution? Select the two correct answers. A. issued currenc
Chlorine gas can be prepared in the laboratory by the reaction of hydrochloric acid with manganese(IV) oxide: 4HCL(aq) + MnO2(s) ----> MnCl2(aq) + 2H2O(l) +
Alejandro rose his bike to work at an average rate of 15mph. To go home, he put his bike on the front rack of the bus and took the bus home along the same route
Why are rocks found at the bottom of a river smooth and flat?
A stone whirled at the end of the rope 30cm long, makes 10 complete resolution in 2 seconds Find : a. The angular velocity in radians b. The linear speed c. the
IUPAC naming of CH3CH(CH3)CH2CH2CHO