def _create_product(product_name):
    """Given a product name, prompt for the price and quantity
    Return a new product record
    { "name": (str), "price": (float), "quantity": (int) }
    """
    while True:
        try:
            product_price = float(input('What is the price for the item? '))
            break
        except ValueError:
            print('Enter a valid price')
    while True:
        try:
            product_quantity = int(input('What is the quantity of the item? '))
            break
        except ValueError:
            print('Enter a valid quantity')
    return {
        'name': product_name,
        'price': product_price,
        'quantity': product_quantity
    }