This website works better with JavaScript
홈
탐색
도움말
로그인
radu
/
python-tutorials
Watch
1
Star
0
포크
0
파일
이슈
0
풀 리퀘스트
0
위키
트리:
b162fe0592
브랜치
태그
master
python-tutor...
/
programs
/
more_lambda.py
more_lambda.py
104 B
히스토리
Raw
1
2
3
4
5
points = [{'x': 2, 'y': 3},
{'x': 4, 'y': 1}]
points.sort(key=lambda i: i['y'])
print(points)