• number length

 

I understand it. however I can't solve it. please give sample code.

.