2017-09-05 4 views

Répondre

2

exp** doit être soit exp ou e** (dans ce dernier cas, from math import e). math.exp n'est pas le nom de la constante e, mais la fonction exponentielle.

>>> exp(2) 
7.38905609893065 
>>> from math import e 
>>> e**2 
7.3890560989306495