higher bound for the
function in python python
mid ___