Cometin'

BOJ-5522 - Python

2020-08-16 at Algorithm category

5개의 줄에 입력되는 수들의 총합을 출력하는 문제.

n = 0
for _ in range(5):
    n += int(input())
print(n)

hyesungoh

Personal blog by hyesungoh.

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