On Fri, Nov 2, 2012 at 4:24 PM, Dave Angel <d...@davea.name> wrote: > Perhaps range(heap) should be replaced by range(len(heap))
"heaps" is a list of ints per the OP, so "heap" is an int. -- http://mail.python.org/mailman/listinfo/python-list
On Fri, Nov 2, 2012 at 4:24 PM, Dave Angel <d...@davea.name> wrote: > Perhaps range(heap) should be replaced by range(len(heap))
"heaps" is a list of ints per the OP, so "heap" is an int. -- http://mail.python.org/mailman/listinfo/python-list