I am learning python by solving the ProjectEuler problem, and here are the solutions.