Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
zip(*matrix) helps a lot solution in Clear category for Weak Point by MMM_AAA_NNN
# migrated from python 2.7
def weak_point(matrix):
return (weak_line(matrix), weak_line(list(zip(*matrix))))
def weak_line(matrix):
durability = [sum(line) for line in matrix]
return durability.index(min(durability))
March 24, 2015