lower upper middle (lower+upper)/ print(middlemiddle** middle** lower middle upper middle print(lowerupper let' look at the python code we have used we started by initializing our interval of uncertaintylower upper then we started the operations we would repeat by calculating the -value of the mid-pointmiddle (lower+upper)/ we squared this and compared the squared -value with our target valuemiddle** andbased on whether this evaluated to true or false we ran eitherlower middle orupper middle then we ran the iteration again