diff --git a/technical_tests/sand_grain_drop.py b/technical_tests/sand_grain_drop.py index ab34797..82bf1d3 100644 --- a/technical_tests/sand_grain_drop.py +++ b/technical_tests/sand_grain_drop.py @@ -39,9 +39,7 @@ def main(pile, n): while n != 0: - if pile[center][center] < 3: - pile[center][center] += 1 - + pile[center][center] += 1 n -= 1 return pile