[Python : 프로그래머스] 두 정수 사이의 합
문제 https://programmers.co.kr/learn/courses/30/lessons/12912?language=python3 풀이 def solution(a, b): return sum([i for i in range(min(a,b), max(a,b)+1)])
문제 https://programmers.co.kr/learn/courses/30/lessons/12912?language=python3 풀이 def solution(a, b): return sum([i for i in range(min(a,b), max(a,b)+1)])
문제 https://programmers.co.kr/learn/courses/30/lessons/68644?language=python3 풀이 def solution(numbers): from itertools import combinations return sort...
문제 https://programmers.co.kr/learn/courses/30/lessons/12910 풀이 def solution(arr, divisor): answer = sorted([i for i in arr if i%divisor == 0]) return...
문제 https://programmers.co.kr/learn/courses/30/lessons/12906 풀이 def solution(arr): a = [] for i in arr : if len(a) < 1 or a[-1] != i : ...
문제 https://programmers.co.kr/learn/courses/30/lessons/12903 풀이 def solution(s): if len(s) % 2 : return s[len(s)//2] else : return s...