A string input can be of any digit less than 10?

plz help me with approach

see this ques is similar to keypad problem just that they have the values of the numbers are different… (1 corresponds to something else in this ques)…by saying that the length of the string is less than 10 we mean to say that user will enter an integer whose max length can be 10…i.e a 10 digit number…
so the input can be
1234567089
12345
and strings(representing numbers) which are of the order of 10 digits

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.