[Python : 프로그래머스] 두 개 뽑아서 더하기
문제 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/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...
문제 https://programmers.co.kr/learn/courses/30/lessons/12901 풀이 def solution(a, b): week = ["THU", "FRI", "SAT", "SUN", "MON", "TUE", "WED"] month = [...