factoriel.py from python mooc with INRIA