What I want to achieve is:
Suppose the length that the user inputs is 6. Then the string that is to be input should also be of length 6 (without having an