title: how to solve this Whitespace issue in python?
body: <p>(1) Prompt the user to input a food item name, price, and quantity. Output an itemized receipt. (Submit for 5 points)</p>
  <pre><code>Enter food item name:
  hot dog
  Enter item price:
  2.00
  Enter item quantity:
  5
  
  RECEIPT
  5 hot dog @ $ 2.0 = $ 10.0
  Total cost: $ 10.0
  </code></pre>
  <p>(2) Extend the program to prompt the user for a second item. Output an itemized receipt. (Submit for 5 points, so 10 points total)</p>
  <pre><code>Enter food item name:
  hot dog
  Enter item price:
  2.00
  Enter item quantity:
  5
  
  RECEIPT
  5 hot dog @ $ 2.0 = $ 10.0
  Total cost: $ 10.0
  
  
  Enter second food item name:
  ice cream
  Enter item price:
  2.50
  Enter item quantity:
  4
  
  RECEIPT
  5 hot dog @ $ 2.0 = $ 10.0
  4 ice cream @ $ 2.5 = $ 10.0
  Total cost: $ 20.0
  </code></pre>
  <p>(3) Extend again to output a third receipt that adds a mandatory 15% gratuity to the total cost. Output the total cost, the cost of gratuity, and the grand total. (Submit for 5 points, so 15 points total)</p>
  <pre><code>Enter food item name:
  hot dog
  Enter item price:
  2.00
  Enter item quantity:
  5
  
  RECEIPT
  5 hot dog @ $ 2.0 = $ 10.0
  Total cost: $ 10.0
  
  
  Enter second food item name:
  ice cream
  Enter item price:
  2.50
  Enter item quantity:
  4
  
  RECEIPT
  5 hot dog @ $ 2.0 = $ 10.0
  4 ice cream @ $ 2.5 = $ 10.0
  Total cost: $ 20.0
  
  15% gratuity: $ 3.0
  Total with tip: $ 23.0
  </code></pre>
  <p>My code:</p>
  <pre><code>item_name = input('Enter food item name:\n')
  item_price = float(input('Enter item price:\n'))
  item_quantity = int(input('Enter item quantity:\n'))
  
  total_cost = item_price * item_quantity
  
  print(&quot;RECEIPT&quot;)
  print( item_quantity , item_name , '@ $', item_price, '= $', total_cost )
  print('Total cost:' , '$' , total_cost)
  </code></pre>
  <p>The output says it has white space?</p>