알고리즘(Python,Java)

백준알고리즘 10950번: A+B-3

IT grow. 2019. 7. 1. 21:22
반응형

백준알고리즘 10950번: A+B-3

 

문제 

두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.

 

사용언어 : Python3

 

input1 = input()

loop = int(input1)

a=[]
for Count in range(0,loop):
input2,input3 = input().split()

num1 = int(input2)
num2 = int(input3)

a.append(num1+num2)

for answer in a:
print(answer)
반응형