etc/Coding Test
[codeup] 87. 짝수 합 구하기
Jun's N
2021. 12. 17. 16:07
n = int(input())
s = 0
for i in range(1, n+1) :
if i%2==0 :
s += i
print(s)
728x90