Sep-09-2018, 03:28 PM
(Sep-09-2018, 03:25 PM)Strayfe Wrote: Would I then use it in a for loop or while loopYou don't need loop in the function that checks specific bag. note that you already know what type of bag it is. Then you can extract the value from the dict or dicts(if you stick to two dict approach) just using the key.
If you are not sure how to access dict values, check our tutorial
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs