Challenge - #46 - Sum and Prod

 import numpy

n,m = map(intinput().split())
array = numpy.array([input().split() for i in range(n)], int)
print(numpy.prod(numpy.sum(array,axis=0)))




Comments

Popular posts from this blog

Challenge - #48 - Incorrect Regex

Challenge - #43 - Time Delta

Challenge - #52 - Set .discard(), .remove(), & .pop()