hackerrank reduce function problem solution in python programming

join shbcf.ru