SHARE
TWEET

Untitled

a guest Apr 25th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. a1 = int(input())
  2. b1 = int(input())
  3. c1 = int(input())
  4. a2 = int(input())
  5. b2 = int(input())
  6. c2 = int(input())
  7.  
  8. if a1 > b1:
  9.     a1, b1 = b1, a1
  10. if b1 > c1:
  11.     b1, c1 = c1, b1
  12. if a1 > b1:
  13.     a1, b1 = b1, a1
  14.  
  15. if a2 > b2:
  16.     a2, b2 = b2, a2
  17. if b2 > c2:
  18.     b2, c2 = c2, b2
  19. if a2 > b2:
  20.     a2, b2 = b2, a2
  21.  
  22. if a1 == a2 and b1 == b2 and c1 == c2:
  23.     print('Boxes are equal')
  24. elif a1 <= a2 and b1 <= b2 and c1 <= c2:
  25.     print('The first box is smaller than the second one')
  26. elif a1 >= a2 and b1 >= b2 and c1 >= c2:
  27.     print('The first box is larger than the second one')
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