python code snippets
students = [{'name': 'John', 'score': 80}, {'name': 'Jane', 'score': 70}] students.sort(key=lambda x:x['score'])