304,560 views
22 votes
22 votes
How to find the difference between 3 numbers in python

User Mahn
by
3.0k points

1 Answer

23 votes
23 votes

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))

User Renny
by
2.7k points