I have a dictionary. It will contain a list of more dictionaries, which themselves will contain key value pairs.
I'd like to create the subdictionary first, then create the key value pairs.
But so far I can only see how to create a subdictionary with something in it. So I create it with a temporary dummy item, which I immediately remove. See this example:
Is there a way to create an empty subdictionary directly?