title: How to print and delete key if value of list has specific item from a stack
body: <p>I have a <code>dict</code> inside a class. Trying to print, delete, 
      te.is_empty()    # Not printing anything
      te.printstats()   # not printing my stack. Nothing.</p>
  
  <pre><code>   for k,v in te.items():
        if v[0] == 'Available':
            print(k) 
  </code></pre>
  
  <p>Can you help me?</p>