나를 기록하다
article thumbnail
반응형

1) 내가 작성한 코드

T = int(input())
for i in range(T):
    A, B = map(int,input().split())
    print("Case #%d: %d"%(i+1,A+B))

2) 구글링 코드

t = int(input())

for i in range(1, t+1):  # 1부터 t까지
    a, b = map(int, input().split())
    print(f'Case #{i}: {a+b}')

 

반응형
profile

나를 기록하다

@prao

포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!

profile on loading

Loading...