Leetcode Single Element In A Sorted Array In Python W3schools