Baekjoon/Python3

[백준] 10951번 A+B - 4

달의요정루나 2023. 6. 5. 14:00

https://www.acmicpc.net/problem/10951

 

10951번: A+B - 4

두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.

www.acmicpc.net

a=0
b=0
while True:
    try:
        a,b=map(int,input().split())
        print(a+b)
    except:
        break

'Baekjoon > Python3' 카테고리의 다른 글

[백준] 10871번 X보다 작은 수  (0) 2023.06.08
[백준] 10807번 개수 세기  (0) 2023.06.08
[백준] 10952번 A+B - 5  (0) 2023.06.05
[백준] 2439번 별 찍기 - 2  (0) 2023.06.05
[백준] 2438번 별 찍기 - 1  (0) 2023.06.05