mercredi 10 juin 2020

SyntaxError: invalid syntax, python3

income=float(input("enter the annual income: ")

if income<85528:
  tax=(income-556.02)*0.18
else:
  tax=(income-85528)*0.32+14839.02

tax=round(tax,0)
print("the tax is: ", tax, "thalers")

Why does it keep giving an error on line 2?

Aucun commentaire:

Enregistrer un commentaire