"Dr. Phillip M. Feldman" <pfeld...@verizon.net> writes:
> if len(result)==1: return result[0]
> if len(result)==2: return result[0], result[1]
> 
> (and so on).  Is there a cleaner way to accomplish the same thing?

That is poor style.  Just return the result as a list.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to