Cometin'

BOJ-14918 - Python

2020-08-07 at Algorithm category

두 수를 공백으로 나눠 입력받은 후 더한 값을 출력하는 문제 sum, map, split을 이용하여 간단하게 풀었다.

print(sum(map(int, input().split())))

hyesungoh

Personal blog by hyesungoh.

I like to share my knowledge for those who wandering in issue.