Skip to content

Commit b6b025f

Browse files
authored
Fix docstring for Euler problem 11, solution 1 (TheAlgorithms#3228)
Docstring must have been leftover from some FizzBuzz method. Now it describes the actual code.
1 parent 7b60cea commit b6b025f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: project_euler/problem_11/sol1.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ def largest_product(grid):
6868

6969

7070
def solution():
71-
"""Returns the sum of all the multiples of 3 or 5 below n.
71+
"""Returns the greatest product of four adjacent numbers (horizontally,
72+
vertically, or diagonally).
7273
7374
>>> solution()
7475
70600674

0 commit comments

Comments
 (0)