Im getting a SyntaxError: invalid syntax when a run this code:
total = int(input("compra total: "))
if total > 700000: totald = total - total*0.2
elif total > 300000: totald = total - total*0.15
elif total > 150000: totald = total -total*0.10
else: totald = total*1
print("Centro Comercial Unaleño\n" "Compra Más y Gasta Menos\n" "NIT: 899.999.063\n" "Total:$"+str(int(totald)) "En esta compra tu descuento fue $"+str(int(total-totald)))
I realize that the error is not placing a comma or sum symbol in here:
......"Total: $"+str(int**(totald)), "\nEn** esta compra tu descuento fue $"+str(int(total-totald)))
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??
Thanks for the help!!