Sponsored
Solve with full IDE support and test cases
Use these hints if you're stuck. Try solving on your own first.
Use a simple for loop to iterate each number.
How you can get the digit for each number?