From 0566ee09950be94c55f453b1b23a1f3c833354b9 Mon Sep 17 00:00:00 2001 From: Kasper Primdal Lauritzen Date: Mon, 12 Oct 2020 13:48:13 +0200 Subject: [PATCH] Fix docstring for Euler problem 11, solution 1 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 4e49013c8210..9dea73e8cef2 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