mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-30 18:36:43 +00:00
fix: too much characters in line
This commit is contained in:
parent
2e67da3a7b
commit
aa5a8858ea
@ -52,7 +52,10 @@ def make_points(a, b, h):
|
||||
:yield: The next x-value in the range (a, b)
|
||||
|
||||
>>> list(make_points(0, 1, 0.1))
|
||||
[0.1, 0.2, 0.30000000000000004, 0.4, 0.5, 0.6, 0.7, 0.7999999999999999, 0.8999999999999999]
|
||||
[0.1, 0.2, 0.30000000000000004, \
|
||||
0.4, 0.5, 0.6, 0.7, \
|
||||
0.7999999999999999, \
|
||||
0.8999999999999999]
|
||||
"""
|
||||
x = a + h
|
||||
while x < (b - h):
|
||||
|
Loading…
x
Reference in New Issue
Block a user