Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a,b = map(float, input().split())
- r1 = a + b
- r2 = a - b
- if (r1 > r2):
- print(str(r2) + " " + str(r1))
- else:
- if (r1 < r2):
- print(str(r1) + " " + str(r2))
- else:
- print(str(r1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement