python

dictionary sort

rjh 2018. 2. 19. 10:43

sorted(d.items(), key=lambda x: x[1])


key로 정렬 - x[0]

저작자표시 동일조건 (새창열림)