Skip to content

Commit

Permalink
test(iterative_digit_sum.py): smaller iterative sum (/2)
Browse files Browse the repository at this point in the history
  • Loading branch information
violetbrina committed Dec 13, 2024
1 parent bed6aed commit 57f4527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpg_flow_test/jobs/iterative_digit_sum.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def iterative_digit_sum(
done
num=$sum
done
num=$((num / 2)) # Divide by two
echo $num
}}
Expand Down

0 comments on commit 57f4527

Please sign in to comment.