''' https://programmers.co.kr/learn/courses/30/lessons/12912 ๋ ์ ์ ์ฌ์ด์ ํฉ [ํ์ด] ''' def solution(a, b): return (a+b)*(abs(a-b)+1)//2 ''' '''
Last updated 3 years ago
Was this helpful?