Scott, > Pretty good, but what about 0x23? > <snipped> > num = int(input, 0) # Convert to int, base spec in arg >
Very nice! I wasn't familiar with the use of 0 as a radix value. A quick visit back to the documentation and I'm an enlightened man :) Thanks for your feedback, Malcolm -- http://mail.python.org/mailman/listinfo/python-list