title: How to add values to an existing empty value key dictionary from a file?
body: <p>I have the following code to create empty dictionary: </p>
  
  <pre><code>empty_dict = dict.fromkeys(['apple','ball'])
  empty_dict = {'apple': None, 'ball': None}
  </code></pre>
  
  <p>I have this empty dictionary.</p>
  
  <p>Now I want to add the values from value.txt which has the following content:</p>
  
  <pre><code>value.txt
  1
  2
  </code></pre>
  
  <p>I want the resultant dictionary to be as:</p>
  
  <pre><code>{
  "apple" : 1,
  "ball" : 2
  }
  </code></pre>
  
  <p>I'm not sure how to update only the value from the dictionary.</p>