인프런 커뮤니티 질문&답변
38번 질문입니다.
작성
·
134
0
l = list(map(int,input().split()))
count = 3
ds = sorted(list(l))
#[55,66,75,85,86,95,97,97,97,97]
print(ds)
for i in range(len(l)-1, 0, -1) :
# print(i,end=' ')
if ds[-3] == l[i] :
#97 95부터시작
#ds[-3]으로 하는 이유는 뭔가요? ds[-1]로 해도되는거 아닌가요?
count += 1
print(count,end= ' ')
print(count)
답변
답변을 기다리고 있는 질문이에요
첫번째 답변을 남겨보세요!





