title: Reason behind "SyntaxError: invalid syntax" in a simple code in Python for not using commas
body: <p>Im getting a SyntaxError: invalid syntax when a run this code:</p>
  <pre><code>total = int(input(&quot;compra total: &quot;))
  
  if total  &gt; 700000: totald = total - total*0.2
  elif total &gt; 300000: totald = total - total*0.15
  elif total &gt; 150000: totald = total -total*0.10
  else: totald = total*1
  
  print(&quot;Centro Comercial Unaleño\n&quot; &quot;Compra Más y Gasta Menos\n&quot; &quot;NIT: 899.999.063\n&quot; &quot;Total:$&quot;+str(int(totald)) &quot;En esta compra tu descuento fue $&quot;+str(int(total-totald)))
  </code></pre>
  <p>I realize that the error is not placing a comma or sum symbol in here:</p>
  <pre><code>......&quot;Total: $&quot;+str(int**(totald)), &quot;\nEn** esta compra tu descuento fue $&quot;+str(int(total-totald)))
  </code></pre>
  <p>But i dont understand the reason behind having to place any of the two options.
  Why I cannot just place a space like in the others strings, and what is the objective of any of the two symbols??</p>
  <p>Thanks for the help!!</p>