Nov-26-2018, 05:37 PM
Here's the thing: Your holiday dict is set up to store ONE holiday. So you either need a list of similar dicts, or a dict of similar dicts. If you want to look up an input date, then you should have a dict of dicts, with the key being the date. That is basically what your for loop is doing, but that's not how you initialize it. Try running your code but start with a blank dictionary on line 3.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures