• utk1610's avatar
    Update utils.py · 0f99f6a1
    utk1610 a écrit
    To make product to work in python 3+ , loop over the list
    Or in case if you want to make the code precise  import following statment and change the return statment
    import operator
    import functools
    return functools.reduce(operator.mul, numbers, 1)
    0f99f6a1