Drag and drop the lines into the box on the right. The constructed function should return the index of the search item in a sorted list, or -1 if it is not found.
Indentation matters, and there may be a line / lines that you shouldn't include.
Start again Check my answer