Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = sorted(map(int, input().split()))
- y = sorted(map(int, input().split()))
- if x == y:
- print('Boxes are equal')
- elif x[0] <= y[0] and x[1]<=y[1] and x[2]<=y[2]:
- print('The first box is smaller than the second one')
- elif x[0] >= y[0] and x[1]>=y[1] and x[2]>=y[2]:
- print('The first box is larger than the second one')
- else: print('Boxes are incomparable')
Advertisement
Add Comment
Please, Sign In to add comment