Advertisement
repente

Untitled

Nov 7th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. user = input()
  2. user = user.split(" ")
  3.  
  4.  
  5. def sort3(a,b,c):
  6. if a > b:
  7. a, b = b, a
  8. if b > c:
  9. b, c = c, b
  10. if b < a:
  11. b, a = a, b
  12. print(a,b,c)
  13.  
  14.  
  15. sort3(int(user[0]), int(user[1]), int(user[2]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement