mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +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…
Reference in New Issue
Block a user