https://programmers.co.kr/learn/courses/30/lessons/12912
def solution(a, b): answer = 0 start = min(a, b) end = max(a, b) for i in range(start, end + 1): answer = answer + i return answer