title: How to pass dictionary as an argument of function and how to access them in the function
body: <p>I tried doing this:</p>
  
  <pre><code>def func(dict):
      if dict[a] == dict[b]:
          dict[c] = dict[a]
      return dict
  
  num =  { "a": 1, "b": 2, "c": 2}
  print(func(**num))
  </code></pre>
  
  <p>But it gives in TypeError.
  Func got an unexpected argument a</p>