SHARE
TWEET

Untitled

a guest Mar 26th, 2020 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a = int(input())
  2. b = int(input())
  3. c = int(input())
  4. d = 0
  5. if c != max(a, b, c) and c != min(a, b, c):
  6.     c = c
  7. elif a != max(a, b, c) and a != min(a, b, c):
  8.     a, c = c, a
  9. elif b != max(a, b, c) and b != min(a, b, c):
  10.     c, b = b, c
  11.  
  12. A = max(a, b, c )
  13. print(A)
  14. B = min(a, b, c)
  15. print(B)
  16. print(c)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top