My code is not working. I am not good at code and I am sorry for wasting your time. I have never been good at this and I am trying to understand how to do linear and binary searches. I hope you can fix my problem as this just doesn't make sense and I'm sorry if I seem stupid.

I want to print the result of where the item is in the array, I cannot, how would I do this?

I have created a function and with this I was able to get the main binary function working, but I want it to print the index.

Here is my code:

```
def binary_search(array,item):
    start_point = 0
    end_point = len(array)
    mid_point = (start_point + end_point) / 2
    while mid_point != item:
        if mid_point > item:
            end_point = mid_point
        elif mid_point < item:
            start_point = mid_point
    if mid_point == item:
        print(mid_point)

binary_search([0,3,5,6,7,8],7)

```