mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Set the Python file maximum line length to 88 characters (#2122)
* flake8 --max-line-length=88 * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -1,9 +1,11 @@
|
||||
import math
|
||||
|
||||
|
||||
def intersection(
|
||||
function, x0, x1
|
||||
): # function is the f we want to find its root and x0 and x1 are two random starting points
|
||||
def intersection(function, x0, x1):
|
||||
"""
|
||||
function is the f we want to find its root
|
||||
x0 and x1 are two random starting points
|
||||
"""
|
||||
x_n = x0
|
||||
x_n1 = x1
|
||||
while True:
|
||||
|
Reference in New Issue
Block a user