Commit 0f99f6a1 rédigé par utk1610's avatar utk1610
Parcourir les fichiers

Update utils.py

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)
parent 523936c2
Prend en charge le Markdown
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message !
Veuillez vous inscrire ou vous pour commenter