solve the projecteuler's problem whith python