How to make "range" with input numbers?

hey… how can i make “range” for (input number)
just like: the user can not input a number bigger than (11 numbers) and not less than (10 numbers)

i think it’s so easy for your experience…but i am a beginner with codes ^^