Discuss / Python / 第一题

第一题

Topic source

RubyDxq

#1 Created at ... [Delete] [Delete and Lock User]

按名字排

sorted(L,key=lambda s:s[0])

按分数排

sorted(L,key=lambda s:s[1])


  • 1

Reply