I want to initialize a dictionary in python when I only have the keys and not the values - The values will come later in the code.
I thought about to do something like this:
dict = {}
for key in key_list:
dict[key] = None
The question is if this is a good practice for this problem or do you have a better recommendation?