On Dec 3, 2010, at 7:22 AM, mdipierro wrote: > > I am too dumb to solve it but this program can:
Cute, though the program somewhat presupposes the pattern of the answer. The answer was obvious at a glance to those of us who had multiplication tables drilled into us all those years ago, I think. > > x=[(2,3,10),(7,2,63),(6,5,66),(8,4,96)] > alphabet = 'ab+-*' > for i in range(100000): > e = '' > while i: > e = e+alphabet[i%5] > i = i / 5 > try: > for (a,b,c) in x: > if eval(e)!=c: raise Exception > a,b = 9,7 > print eval(e) > break > except: pass > > > On Dec 3, 8:32 am, António Ramos <[email protected]> wrote: >> 2+3=10 >> 7+2=63 >> 6+5=66 >> 8+4=96 >> So: >> 9+7=??? >> >> What is the answer? >> They say the IQ of people that can find it is above 120 >> >> Dont write here the answer...... >> Just the time, maybe

