rowMax = list(map(max, grid))#行最大值
colMax = list(map(max, zip(*grid)))#列最大值
rowMax = list(map(min, grid))#行最小值
colMax = list(map(min, zip(*grid)))#列最小值
版权声明:本文为weixin_45878899原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
rowMax = list(map(max, grid))#行最大值
colMax = list(map(max, zip(*grid)))#列最大值
rowMax = list(map(min, grid))#行最小值
colMax = list(map(min, zip(*grid)))#列最小值