Python: has_key , I want to print the value of the key with if statement
<p>could you please help me with this.</p>

<p>I want to print the value of the key with if statement. it is have one OR other value if it is not , but not for one , for all.</p>

<p>my try:</p>

<pre><code>wp = {'tomatos': , 'patotoes': , 'milk':0.5'cheese':, 'eggs':0.25,'meat':2}
x= ' item is not available in this store'
</code></pre>

<p>how I can make my output like this ?</p>

<blockquote>
  <p>tomatos item is not available in this
  store.</p>
  
  <p>patotoes item is not available in this
  store.</p>
  
  <p>milk   0.5</p>
  
  <p>cheese item is not available in this
  store .</p>
  
  <p>eggs 0.25 </p>
  
  <p>meat 2</p>
</blockquote>

<p>thats mean if any Item in the list dont have price , print x infront of it , and for others print the price shown .</p>
