Write A Program Binary Search In Python Using Global Variables