Find the single digit sum
while ( score > 0 or n > 9 ) : NEW_LINE INDENT if ( score == 0 ) : NEW_LINE INDENT score = n NEW_LINE n = 0 NEW_LINE DEDENT n += score % 10 NEW_LINE score = score // 10 NEW_LINE DEDENT