python 간단 문법 정리
sort한 다음에 index 반환
yuuuun
2021. 6. 15. 16:28
반응형
s = [2, 3, 1, 5]
sorted(range(len(s)), key=lambda k:s[k])
반응형