repl.it
@MatthewWellingt/

tax calculator

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
income=float(input("Enter income amount:"))
if income<=2500:
  tax=0 
elif income<=5000:
  tax=(income-2500)*.05
else:
  tax=(income-5000)*.10+125
print("The tax amount is:", tax)