Project Euler exercises in Python