from math import e code example Example 1: euler number python from math import e Example 2: e in python math.exp(20x)