#Create a script which takes a list of numbers from command line and #print the same in the compact form. For example, #if you pass “1,2,3,4,9,10,14,15,16” then it should print the compact form like “1-4,9,10,14-16”. ( решение: )
Print all the niven numbers from 0 to 50 inclusive, each on their own line. A niven number is a non-negative number that is divisible by the sum of its digits. ( решение: )