Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- a1 = math.fabs(int(input()))
- b1 = math.fabs(int(input()))
- c1 = math.fabs(int(input()))
- a2 = math.fabs(int(input()))
- b2 = math.fabs(int(input()))
- c2 = math.fabs(int(input()))
- S1 = a1 * b1 * c1
- S2 = a2 * b2 * c2
- if S1 > S2:
- print("The first box is larger than the second one")
- elif S1 < S2:
- print("The first box is smaller than the second one")
- elif S1 == S2:
- print("Boxes are equal")
- else:
- print("Boxes are incomparable")
Advertisement
Add Comment
Please, Sign In to add comment