How many times will the loop run if you enter a single digit? Two-digit? K-digit?

For a single-digit number, the cycle is performed 1 time, for a two-digit number – 2 times, for a k-digit number – K times.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.