Agorithm/백준 알고리즘

백준 알고리즘 11022번 A+B - 8(python)

kimjinho1 2020. 2. 15. 02:26
728x90
반응형

11021번 A+B - 7과 똑같이 format을 잘 사용해주자.

for i in range(int(input())):
    n1, n2 = map(int, input().split())
    print("Case #{0}: {1} + {2} = {3}".format(i+1, n1, n2, n1+n2))

728x90
반응형