请问python这个错误怎么解决

img
整个代码语句自己感jio没啥错误,但是240行一直报错

错误描述
```python
Traceback (most recent call last):
  File "E:\桌面\python项目\day20\stusystem.py", line 279, in <module>
    main()
  File "E:\桌面\python项目\day20\stusystem.py", line 26, in main
    sort()
  File "E:\桌面\python项目\day20\stusystem.py", line 240, in sort
    student_new.sort(key=lambda  student_new :int( student_new['english']),reverse=asc_or_desc_bool)
  File "E:\桌面\python项目\day20\stusystem.py", line 240, in <lambda>
    student_new.sort(key=lambda  student_new :int( student_new['english']),reverse=asc_or_desc_bool)
TypeError: There are no type variables left in dict[{'id': '1001', 'name': '张三', 'english': 88, 'python': 99, 'java': 77}]


```

字典是无序的,如果要实现有序字典可以用collections.OrderedDict(),参考一下:

https://www.cnblogs.com/lowmanisbusy/p/10257360.html