倒序排列那个,python 3报错
python3怎么用 >>> def reversed_cmp(x,y): if x>y: return -1 if x
>> sorted([36,5,12,9,21],reversed_cmp) Traceback (most recent call last): File "", line 1, insorted([36,5,12,9,21],reversed_cmp) TypeError: must use keyword argument for key function#72>