
from sys import stdin
n = int(input())
a = []
b = []
for i in range(n):
ai,bi = map(int, stdin.readline().strip().split())
a.append(ai)
b.append(bi)
for i in range(n):
print(f'Case #{i+1}: {a[i]+b[i]}')
반응형
'Python > 백준' 카테고리의 다른 글
| [백준] 1110번 더하기 사이클 Python (0) | 2023.03.18 |
|---|---|
| [백준] 10699번 오늘 날짜 Python (0) | 2023.03.16 |
| [백준] 2965번 캥거루 세마리 Python (0) | 2023.03.16 |
| [백준] 2476번 주사위 게임 Python (0) | 2023.03.16 |
| [백준] 1267번 핸드폰 요금 Python (0) | 2023.03.16 |