Help for this page
Number 1818 1818 = 1+8+1+8 = 36 step 1 (2 digits output) 36 = 3 + 6 = 9 step 2 (single digit output) result: 9 (final count of the digits )
use strict; use warnings; ... length: 1 final: 9 1818 == 9