Skip to content

Commit

Permalink
Add whitespace for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Sep 9, 2024
1 parent 4db3b77 commit cbd2183
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/src/p0006.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ return {
solution = function()
local sum = 1
local sum_of_squares = 1

for i = 2,100,1
do
sum = sum + i
sum_of_squares = sum_of_squares + (i * i)
end

return (sum * sum) - sum_of_squares;
end
}
Expand Down

0 comments on commit cbd2183

Please sign in to comment.