Skip to content

Commit

Permalink
Variable name n doesn't conform to snake_case naming style
Browse files Browse the repository at this point in the history
  • Loading branch information
ikostan committed Nov 24, 2024
1 parent c3e94b1 commit 0b88681
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kyu_6/sums_of_parts/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def parts_sums(input_ls: list) -> list:
result.append(ls_sum)

for num in input_ls:
n = ls_sum - num
result.append(n)
ls_sum = n
current_sum: int = ls_sum - num
result.append(current_sum)
ls_sum = current_sum

return result

0 comments on commit 0b88681

Please sign in to comment.