Sum and Prod

  • + 0 comments
    • import numpy
    • n,m = map(int,input().split())
    • isha = [list(map(int,input().split())) for _ in range(n)]
    • jinx = numpy.array(isha)
    • powpow = numpy.sum(jinx,axis=0)
    • powder = numpy.prod(powpow)
    • print(powder)