title: Updating only one key value by using for loop with different different value and return the dictionary in python
body: <p>Here is my current dictionary:-</p>
  <pre><code>my_list_of_dict = [{'A': 'a', 'B': 'b'},{'A': 'a1', B: 'b1'}]
  </code></pre>
  <p>I have values like this:-</p>
  <pre><code>values = ['c', 'c1']
  </code></pre>
  <p>I tried this code:-</p>
  <pre><code>for my_dict in my_list_of_dict:
      for value in values:
         my_dict['C'] = value
  </code></pre>
  <p>But this code returns the output as the last value:-</p>
  <pre><code>my_dict = {'A': 'a', 'B': 'b', 'C': 'c1'}
  my_dict = {'A': 'a', 'B': 'b', 'C': 'c1'}
  </code></pre>
  <p><strong>Expected Output is:-</strong></p>
  <pre><code>my_dict = {'A': 'a', 'B': 'b', 'C': 'c'}
  my_dict = {'A': 'a', 'B': 'b', 'C': 'c1'}
  </code></pre>
  <p>Where I am wrong?</p>