title: Python 3: How to compare two tuples and find similar values?
body: <p>I have two dictionaries: <code>(1)Inventory and (2)Items</code>
  Under these dictionaries are tuples which are added using user's input.</p>
  
  <pre><code> dict_inventory = {('fruits', ['apple','mango'])
  
   dict_items = {('apple', [3, 5])
      ('mango', [4, 6])}
  </code></pre>
  
  <p>How do I compare the two and to match similar values which are <code>apple</code> and <code>mango</code></p>
  
  <p>My code is not printing anything:</p>
  
  <pre><code>for itemA in dict_inventory.values():
      for itemB in dict_items.keys():
          if itemA == itemB:
              print("Match!")
  </code></pre>