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:
committed by
GitHub
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
|
||||||
|
|||||||
Reference in New Issue
Block a user