Get help from the best in academic writing.

The Grocery Game

Objective: Gain experience using files, lists and functions.
Program: For your next program, you will be writing a price guessing game. For the game, the player is shown 5 products with their prices hidden. The player can “purchase” any number of the products in any quantity they want, but once an item has been purchased (and its price revealed), it cannot be purchased again. The goal of the game is to have the total price of the purchases to be between $19.00 and $20.00, inclusive. If the total exceeds $20.00, the player loses immediately. The player also loses if they have purchased all the items, and the total is still below $19.00.
Please follow the guideline of this program