프로젝트/Baekjoon

BAEKJOON PYTHON 10952 A+B-5

Refrin 2021. 8. 20. 00:32
반응형

Prob


Approach

기본 문법


Code

import sys

a, b = map(int, sys.stdin.readline().split())

while (a != 0) & (b != 0):
    print(a + b)
    a, b = map(int, sys.stdin.readline().split())

 

출처

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

반응형