"""
출처: 프로그래머스 코딩 테스트 연습,
https://school.programmers.co.kr/learn/courses/30/lessons/120585
"""
# 풀이 과정
def solution(array, height):
array.append(height)
array.sort()
array.reverse()
return array.index(height)
Lv0 프로그래머스(Programmers)[Python][파이썬] 머쓱이보다 큰 사람
"""
출처: 프로그래머스 코딩 테스트 연습,
https://school.programmers.co.kr/learn/courses/30/lessons/120585
"""
# 풀이 과정
def solution(array, height):
array.append(height)
array.sort()
array.reverse()
return array.index(height)