The formula for "Two-for" price is 20% off the total price of two items. Prompt the user for each of the values and calculate the result
<p>The following is what the output should look like:</p>

<p>Enter price 1: 10.0</p>

<p>Enter price 2: 20.0</p>

<p>The 'two-for' price is $24.0</p>

<p>The code I entered is:</p>

<pre><code>price_one = float(input('Enter price 1: '))

print(price_one)

price_two = float(input('Enter price 2: '))

print(price_two)

two_for_price = (price_one + price_two)-((price_one + price_two)*(20/100))

print("The 'two-for' price is $",two_for_price) 
</code></pre>

<p>(The inputs are 10.0 and 20.0 respectively.)</p>

<p>But the output I am getting is:</p>

<pre><code>Enter price 1: 10.0

Enter price 2: 20.0

The 'two-for' price is $ 24.0
</code></pre>

<p>In the last line I need:</p>

<pre><code>The 'two-for' price is $24.0
</code></pre>

<p>Please help me out!!</p>

<p>If i'm reading this correctly you just need to remove a space from your output.</p>

<p>Change your last line to this:</p>

<p><code>print("The 'two-for' price is ${0}".format(two_for_price))</code></p>

python