Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 242 Bytes

File metadata and controls

15 lines (12 loc) · 242 Bytes
@author jackzhenguo
@desc 
@date 2019/4/10

68 所有多个列表的最大值

def max_lists(*lst):
    return max(max(*lst, key=lambda v: max(v)))


r = max_lists([1, 2, 3], [6, 7, 8], [4, 5])
print(r)  # 8