On Mon, Aug 13, 2012 at 9:24 PM, Blind Anagram <non...@nowhere.com> wrote: > > Here is a fairly short bit of code which produces the exception: > > for pre in ('12', '13', '14', '15', '21' ): > n = int(pre + '543') > s = str(n * n) > if len(set(s)) == 9: > print(n, s)
Interesting. I just downloaded a clean 3.3 onto this Windows box, saved your script to a file ("booom.py" hehe), and ran it - no exception. Same thing pasting that code into the interactive interpreter or idle. Did you import anything before running that code? If not, it may be a site.py problem or something. ChrisA -- http://mail.python.org/mailman/listinfo/python-list