text generator stuck first step
my code will start with reading a file name as input the output will be like below filename statistics All tokens: ?????? Unique tokens: ????? second input will be like > 0 what > 4 life > 72379990π43799 IndexError, please input an integer that is in range of the file name >six Type Error.pleaseinput an integer >exit how to implement thati am stuck in it for a whilei need agood ideas, appreciated your efforts.