Google!

On Fri, Dec 3, 2010 at 10:22 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:

> I am too dumb to solve it but this program can:
>
> 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 <ramstei...@gmail.com> 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
>

Reply via email to