Apr-01-2020, 12:47 PM
(Mar-30-2020, 01:16 AM)deanhystad Wrote: If you want the dictionary to contain lists you need to add lists. "coat" is a string. ["coat"] is a list that contains a string. You can append to a list of strings. You cannot append to a string. Your first two examples run correctly because they initially add a list to the dictionary. The final example fails because it adds a word. I think you problem is a typo.
Thanks for catching that - it did the trick.