Advertisement
VergeoPaw

1042

Sep 19th, 2021
738
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. a,b,c = input().split()
  2. a = int(a)
  3. b = int(b)
  4. c = int(c)
  5.  
  6. if a <= b and a <= c :
  7.     print(a)
  8.     if b <= c :
  9.         print(b)
  10.         print(c)
  11.     else :
  12.         print(c)
  13.         print(b)
  14. elif b <= a and b <= c :
  15.     print(b)
  16.     if a <= c :
  17.         print(a)
  18.         print(c)
  19.     else :
  20.         print(c)
  21.         print(a)
  22. elif c <= a and c <= b :
  23.     print(c)
  24.     if a <= b :
  25.         print(a)
  26.         print(b)
  27.     else :
  28.         print(b)
  29.         print(a)
  30.  
  31. print("")
  32. print(a)
  33. print(b)
  34. print(c)
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement