python multiplication {how to do it with a dic ?}
<p><strong>Here's what im trying to do</strong> :</p>

<p>name of snack then price , the print the name ,quantity and total price... is it possible to link the name with price then i could only multiply the price ? i tried to do function but i ended up missing with code</p>

<p>** problems **: </p>

<p>if i print the order it shows all the items in food_price with changing the value of the selected item...so it's actually not multiplying the price</p>

<p><strong>e.g</strong>:
Type in an Order to add to add: Hot dog
How many would you like : 2</p>

<p>then when i print the order it shows me the whole list:</p>

<p>Buttered Popcorn L : 8</p>

<p>Buttered Popcorn M : 7</p>

<p>Peanut M&amp;M's : 3.1</p>

<p>Hot dog : 2( 2 became the value "price" of the hot dog)</p>

<pre><code>    Please choose your order  :


 |#| **Food**         |Size       |Calories  |     Price |
 =========================================================
   Buttered Popcorn L    Large         1200     8$
   Buttered Popcorn M    Medium         910     7$
   Buttered Popcorn S    Small          650     5$
   Hot dog               Medium             305     5$

"""
</code></pre>
