[Python : 프로그래머스] 문자열 내 마음대로 정렬하기
문제 https://programmers.co.kr/learn/courses/30/lessons/12915?language=python3 풀이 def solution(strings, n): return sorted(sorted(strings), key=lambda x: x[...
문제 https://programmers.co.kr/learn/courses/30/lessons/12915?language=python3 풀이 def solution(strings, n): return sorted(sorted(strings), key=lambda x: x[...
문제 https://programmers.co.kr/learn/courses/30/lessons/12916?language=python3 풀이 def solution(s): return s.lower().count('p') == s.lower().count('y') 점점 ...
문제 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...