I am trying to write a binary search program for a class, and I am pretty sure that my logic is right, but I keep getting a non-UTF-8 error. I have never seen this error and
Add this line at the top of you code. It may work.
# coding=utf8