human
delete value from heap.
assistant
Here is a Python function to delete value from heap

import heapq

def _delete_from_heap(heap, value):
    """Delete value from heap.

    :param heap:
    :param value:
    """
    heap.remove(value)

# Enter the heap
heap = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

# Calling the function
print((_delete_from_heap(heap, 10)))

#Example Output
1
2
3
4
5
6

# None

#Remember to inspect code for bugs.