Write a program in Python that calculates the power of a given base and exponent using recursion. The program should prompt the user to enter the base and exponent and then display the result of the calculation. The program should use a recursive function to perform the calculation and handle invalid input appropriately. Additionally, the program should include comments to explain the purpose and functionality of each section of code.
This prompt doesn't seem malicious.