import decimal


def prompt_decimal(prompt):
    """ Prompt until the user provides a decimal """
    while True:
        try:
            return decimal.Decimal(input(prompt))
        except decimal.InvalidOperation:
            print('Provide a decimal')