Initializing a dictionary in python with a key value and no corresponding values

dictionary, initialization, key, python

Solution

You could initialize them to `None`.

Problem

I was wondering if there was a way to initialize a dictionary in python with keys but no corresponding values until I set them. Such as: ``` Definition = {'apple': , 'ball': } ``` and then later i can set them: ``` Definition[key] = something ``` I only want to initialize keys but I don't know the corresponding values until I have to set them later. Basically I know what keys I want to add the values as they are found. Thanks.

Original source