Python solutions for Project Euler questions