University of Pennsylvania researchers tweaked an AI tutor to tailor the difficulty of practice problems for each student.
Prompts the user for a positive integer input (0< n < 100) and validates it. The function will continue to prompt the user until a valid input is received.