Is that a new IQ test? Cause I'm totally failing it. :) On Fri, Dec 3, 2010 at 4:22 PM, 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
-- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http://counter.li.org/) I hang out on identi.ca: http://identi.ca/foxbunny Gimp Brushmakers Guild http://bit.ly/gbg-group