10952번 - A+B - 5
while True:
a=input()
a=a.split()
b=a[0]
c=a[1]
b=int(b)
c=int(c)
print(b+c)
if b==0 and c==0:
break
뭐가 빠진걸까요? 실행은 잘되는데
마지막 0 0 은 출력하면 안됩니다
댓글을 작성하려면 로그인해야 합니다.
kimsincjswo 3년 전
while True:
a=input()
a=a.split()
b=a[0]
c=a[1]
b=int(b)
c=int(c)
print(b+c)
if b==0 and c==0:
break
뭐가 빠진걸까요? 실행은 잘되는데