import cmath
import math

# Sans i, l'exponentielle explose ; avec i, elle tourne sur le cercle de rayon 1
for theta in (1, 10, 100):
    print(f"θ = {theta:>3}   exp(θ) = {math.exp(theta):.3e}   abs(exp(iθ)) = {abs(cmath.exp(1j * theta)):.3f}")
