Newtons Method Python Code Editor