HR파이썬 Find the Runner-Up Score!

Jmnote bot (토론 | 기여)님의 2021년 7월 31일 (토) 10:53 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

개요[ | ]

HR파이썬 Find the Runner-Up Score!
해커랭크 Python
# 문제 비고
HR파이썬 Basic Data Types e
8 HR파이썬 List Comprehensions
9 HR파이썬 Find the Runner-Up Score!
10 HR파이썬 Nested Lists
11 HR파이썬 Finding the percentage
12 HR파이썬 Lists
13 HR파이썬 Tuples

if __name__ == '__main__':
    n = int(input())
    arr = map(int, input().split())
    arr = list(set(arr))
    print( sorted(arr,reverse=True)[1] )
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}