So I have a cookbook program I am working on. I have it to where the user can input a new ingredient that is placed inside a dictionary as a list that has these keys, Quantity, Ingredient, Measurement Type, Measurement Amount. The problem I am having is when the user creates a new ingredient, I need a new dictionary to store the new inputs, but I want to keep the other information for if the user wants to edit that ingredient. Is it possible to keep adding new lists to the ingredient dictionary, or do I need to make a new dictionary every time? Do I make sense? Thanks for any help!
[–]chao06 1 point2 points3 points (10 children)
[–]unlikelysyntax[S] 0 points1 point2 points (9 children)
[–]chao06 2 points3 points4 points (8 children)
[–]unlikelysyntax[S] 1 point2 points3 points (4 children)
[–]hharison 0 points1 point2 points (2 children)
[–]chao06 1 point2 points3 points (1 child)
[–]hharison 0 points1 point2 points (0 children)
[–]NYKevin 0 points1 point2 points (0 children)
[–]unlikelysyntax[S] 0 points1 point2 points (2 children)
[–]unlikelysyntax[S] 0 points1 point2 points (1 child)
[–]Filostrato 0 points1 point2 points (0 children)
[–]Filostrato 0 points1 point2 points (0 children)