From b6b025f25a9efd991730ef27cd6837f00fd4bb80 Mon Sep 17 00:00:00 2001 From: Kasper Primdal Lauritzen Date: Mon, 12 Oct 2020 16:14:45 +0200 Subject: [PATCH] Fix docstring for Euler problem 11, solution 1 (#3228) Docstring must have been leftover from some FizzBuzz method. Now it describes the actual code. --- project_euler/problem_11/sol1.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project_euler/problem_11/sol1.py b/project_euler/problem_11/sol1.py index 4e49013c8..9dea73e8c 100644 --- a/project_euler/problem_11/sol1.py +++ b/project_euler/problem_11/sol1.py @@ -68,7 +68,8 @@ def largest_product(grid): 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() 70600674