求助!为什么会报错?!
Microsoft Windows [版本 6.3.9600]
(c) 2013 Microsoft Corporation。保留所有权利。
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (
Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> sorted([36, 5, 12, 9, 21], reversed_cmp)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'reversed_cmp' is not defined
>>>