On Sat, May 25, 2013 at 6:54 PM, Carlos Nepomuceno <carlosnepomuc...@outlook.com> wrote: > lol > > def absolute(x): > return x if x>0 else -x > > def reach(x): > y=[] > z=0 > while z<x: > y.append(z) > z+=1 > return y
Very good. You are now in a position to get past the limitations of a restricted-environment eval/exec. Avoiding builtins is actually a fun skill to hone. ChrisA -- http://mail.python.org/mailman/listinfo/python-list