문익호의 화분

10869번 : 사칙연산 (Python3) 본문

무니코딩/백준

10869번 : 사칙연산 (Python3)

moonico 2022. 3. 1. 23:30

A,B=map(int,input().split())
print(A+B)
print(A-B)
print(A*B)
print(A//B)
print(A%B)

# / 는 단순 나눗셈. 몫을 구하기 위해서는 // 사용!

'무니코딩 > 백준' 카테고리의 다른 글

18108번 : 1998년생인 내가 태국에서는 2541년생?! (Python3)  (0) 2022.03.01
10926번 : ??! (Python3)  (0) 2022.03.01
1008번 : A/B (Python3)  (0) 2022.02.28
10998번 : A×B (Python3)  (0) 2022.02.27
1001번 : A-B (Python3)  (0) 2022.02.27
Comments