leecmoses (1) [Avatar] Offline

I am sure many of you have already noticed, but I wanted to share this just incase.

On page 9, under the binary_search function. It currently defines mid as the following:
mid = (low + high)

It should actually be the following:
mid = int((low + high) / 2)

The integer function is used to avoid having a float, since list indices must be either integers or slices.

All the best,
A fellow student