unitmoduleModuleCH01;
=begin commentChallenge 007#1Print all the niven numbers from 0 to 50 inclusive, each on their own line. Aniven number is a non-negative number that is divisible by the sum of itsdigits.=end commentmultiis-niven( 0 --> False) isexport { }
multiis-niven( Int:D$numwhere * > 0 ) isexport {
$num %% $num.comb.sum;
}