The class was asked to write a functioning, novel program showcasing
- User Input
- String manipulation
- Use of a dictionary
- List comprehension
- Clean function definitions using at least 3 functions to separate code
This repo provides an example of a trivial shopping cart that
- Gather user input to fetch the name, item, and quantity
- Parses the user's name input to parse out the first name
- Uses a dictionary for price lookups
- Uses list comprehension to create the menu items from the food list
- Separates out the menu processing and output into functions