Dec-27-2020, 01:54 AM
Right now you have a list that is made up of 3 dictionaries.
But the output that you are asking for is a "dictionary" made up of 3 dictionaries, but python will not allow that.
A dictionary is {"key": value}. So, the best you could do is to string your 3 dictionaries together.
Please correct me if I'm wrong. I often am :)
But the output that you are asking for is a "dictionary" made up of 3 dictionaries, but python will not allow that.
A dictionary is {"key": value}. So, the best you could do is to string your 3 dictionaries together.
Please correct me if I'm wrong. I often am :)