ENuke Software interview question

write a program for binary search in Python