I have a puzzle for which i’d like to give infinite attempts to the person who’s trying to solve it. Otherwise the candidate will have to, over and over launch the program.
My educated guess is that, you’ll find more qualified individuals to solve this riddle in the Python community.
You are a true sadist my friend.
I can picture someone becoming addicted to trying to solve the puzzle.
Usually, it’s the opposite that the programmer tries. Normally, there is a timer or certain number of attempts.
Basically, you would just not add any such limits in the code. If it’s already there you can either remove it or code to jump over it or set the number of attempts well beyond any sane number.