Frage im Vorstellungsgespräch bei Securonix

You are given a sorted array of integers and a target value. Write a function binary_search in Python