Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def sort(a, b, c):
- maxi = max(a, b, c)
- mini = min(a, b, c)
- mid = a + b + c - mini - maxi
- return maxi, mid, mini
- if __name__ == "__main__":
- a = int(input("a="))
- b = int(input("b="))
- c = int(input("c="))
- print(sort(a, b, c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement