three eulier problems with python