Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- user = input()
- user = user.split(" ")
- def sort3(a,b,c):
- if a > b:
- a, b = b, a
- if b > c:
- b, c = c, b
- if b < a:
- b, a = a, b
- print(a,b,c)
- sort3(int(user[0]), int(user[1]), int(user[2]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement