Euler in Python