These two make it possible to view the heap as a regular Python list without surprises: heap[0] is the ... If the heap is empty, IndexError is raised.
確定! 回上一頁