Project Euler 39

If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions for p = 120. {20,48,52}, {24,45,51}, {30,40,50} For which value of p < 1000, is the number of solutions maximised? You may remember »

Second Python User Group meeting

I gave a talk at the second python user group in leeds on Wednesday. It was called “Anatomy Of A Python Program - How Much Can You Do In 0.1 KLOC?”. It is based on Peter Norvigs Sudoku solver. I had been thinking about doing it for WYLUG, possibly as »

RubyQuiz 148 - Postfix to Infix

I have been meaning for some time to tackle the RubyQuiz problems in Python. The one from yesterday (#148) is quite interesting, taking postfix notated expressions and returning an infix version. For example 2 3 5 + goes to 2 * (3 + 5) I spoilt »