Bisection Method Python Code With Comments