This commit is contained in:
MaximSmolskiy 2024-08-25 15:46:18 +03:00
parent fba4edf1cd
commit 0403341bb7

View File

@ -63,7 +63,7 @@ def largest_product(grid):
max_product = max(
vert_product, horz_product, lr_diag_product, rl_diag_product
)
largetst = max(largest, max_product)
largest = max(largest, max_product)
return largest