We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe3ec7 commit 3605e2aCopy full SHA for 3605e2a
programmers/Lv.1/failure_percent.py
@@ -0,0 +1,11 @@
1
+def solution(N, stages):
2
+ stage_people = {}
3
+ for stage in stages:
4
+ if stage in stage_people:
5
+ stage_people[stage] += 1
6
+ else:
7
+ stage_people[stage] = 1
8
+ answer = []
9
+ for stage in list(stage_people.keys()):
10
+ # 여기서 정렬하려면 list의 sort가 나아보인다.
11
+ return answer
0 commit comments