← Back to List

24075번: 計算 (Calculation) ↗

Solutions

Python 3
69 B | 69 chars
a,b=map(int,input().split())
print(f"{max(a+b,a-b)}\n{min(a+b,a-b)}")