收起
import random a=[random.randint(1000,10000) for i in range(100)] print(a) a.sort(key=lambda x:str(x)[1] ,reverse=True) print(a)
望采纳
报告相同问题?