程序段如下: d={"张三":88,"李四":90,"王五":73,"赵六":82,"钱七":86} item=list(d.items()) item.sort(key=lambda x:x[1],reverse=True) for i in range(3): xm,cj=item[i] print("%16s %6d"%(xm,cj)) 该程序段的功能是
主观题
程序段如下: d={"张三":88,"李四":90,"王五":73,"赵六":82,"钱七":86} item=list(d.items()) item.sort(key=lambda x:x[1],reverse=True) for i in range(3): xm,cj=item[i] print("%16s %6d"%(xm,cj)) 该程序段的功能是