def solution(N, stages): length = len(stages) answer = [] fail = dict() for i in range(1, N+1) : cnt = stages.count(i) val = cnt / length fail[i] = val length -= cnt fail = sorted(fail.items(), key=lambda x:x[1], reverse=True) for i in fail : answer.append(i[0]) return answer ㅎㅎ.. 웬일로 쉽게 끝나나 했다 ,, def solution(N, stages): length = len(stages) answer = [] fail = dict() for i in range(1, N+1) : cn..