Problem
https://codeup.kr/problem.php?id=6044
Solution
1
2
3
4
5
6
7
8
9
a,b = map(int, input().split())
add = a+b
sub = a-b
mul = a*b
quo = a//b
mod = a%b
div = format(a/b, ".2f")
print(add, sub, mul, quo, mod, div, sep='\n')
https://codeup.kr/problem.php?id=6044
1
2
3
4
5
6
7
8
9
a,b = map(int, input().split())
add = a+b
sub = a-b
mul = a*b
quo = a//b
mod = a%b
div = format(a/b, ".2f")
print(add, sub, mul, quo, mod, div, sep='\n')
A new version of content is available.