title: Why while updating a dictionary getting None?
body: <p><a href="https://i.stack.imgur.com/KYz2a.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KYz2a.png" alt="enter image description here"></a>I am basically merging two dictionaries by using <code>update</code> method. The problem is when I merge in <code>python shell</code> it works but not in a file while executing.</p>
  
  <pre><code>v = {'customer_id': '9000', 'customer_name': 'Apple  Inc'}
  b = {"a": "b"}
  
  print v.update(b)
  </code></pre>
  
  <p>output of above is <code>None</code></p>
  
  <p>but its working in shell. What's my silly mistake? Thankyou</p>