mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-01-19 00:37:02 +00:00
Fix docstring for Euler problem 11, solution 1 (#3228)
Docstring must have been leftover from some FizzBuzz method. Now it describes the actual code.
This commit is contained in:
parent
7b60cea490
commit
b6b025f25a
|
@ -68,7 +68,8 @@ def largest_product(grid):
|
||||||
|
|
||||||
|
|
||||||
def solution():
|
def solution():
|
||||||
"""Returns the sum of all the multiples of 3 or 5 below n.
|
"""Returns the greatest product of four adjacent numbers (horizontally,
|
||||||
|
vertically, or diagonally).
|
||||||
|
|
||||||
>>> solution()
|
>>> solution()
|
||||||
70600674
|
70600674
|
||||||
|
|
Loading…
Reference in New Issue
Block a user