[SW][BEAKJOON]/[SW][BEAKJOON][반복문]
[BEAKJOON][반복문][11021][Python] A+B - 7
Gooing
2022. 3. 30. 23:55
반응형
PROBLEM
- Link
Approach to the problem
-
Code
import sys
T = int(input())
# ReadLine 활용
for i in range(T):
a,b = map(int, sys.stdin.readline().split())
print("Case #" + str(T+1) + ":" , a+b)
# ---
# 그냥 일반적인 Code
T = int(input())
for i in range(1, T+1):
A, B = map(int, input().split())
print("Case #" + str(i) + ":", A+B)
End
-
반응형