n is 4821. Add its digits (4 + 8 + 2 + 1) with a while loop using % and //. Store the answer in digit_sum and print it.
n
while
%
//
digit_sum
15
New to this? The While Loops & break/continue lesson explains it from scratch.