mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 10:28:39 +00:00
Fix
This commit is contained in:
parent
fba4edf1cd
commit
0403341bb7
@ -63,7 +63,7 @@ def largest_product(grid):
|
|||||||
max_product = max(
|
max_product = max(
|
||||||
vert_product, horz_product, lr_diag_product, rl_diag_product
|
vert_product, horz_product, lr_diag_product, rl_diag_product
|
||||||
)
|
)
|
||||||
largetst = max(largest, max_product)
|
largest = max(largest, max_product)
|
||||||
|
|
||||||
return largest
|
return largest
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user