def getFloat(inputtext=''):
    """Prompts the user for a real number.
Returns the real number entered by the user.
Other inputs prompt the user to re-enter a
response until a real number is submitted.
"""
    while 1:
        try:
            outputfloat=float(input(inputtext + '\nPlease Enter a Number:\n'))
            return outputfloat
        except: print('INVALID ENTRY')