1.3.2 Create Your Slime Shopping Program
1.3.2 Create Your Slime Shopping Program
Create a Python program that helps you make a shopping list for slime! Use the code editor below to build your program.
Requirements
Your program must have:
- User input for the number of tubs - Ask the user how many tubs of slime they want to make
- Display of the number and cost of each ingredient - Show how much of each ingredient is needed and its cost for the chosen number of tubs
- Display of the total cost - Calculate and show the total cost of all ingredients
- Proper formatting - Match the formatting from the video (new lines, special characters, money symbols)
Note: It's ok if your prices show up with too many numbers after the decimal (for example: $5.0000001)
Get Creative
You may adjust the slime recipe if you want, but not in a way that makes this project easier:
- ✅ Example 1: Adding gelatin to the recipe is fine
- ❌ Example 2: Removing every ingredient except water is not fine
Build Your Program
Use the editor below to write your code. The evaluation checklist will update as you code, showing you what you've completed and what still needs work.
Congratulations on completing your third Natural Language Processing project!
Loading Python environment...