Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Tax task
salary = 100000 tax = 0 if salary > 50000 and salary <= 100000: tax += (salary - 50000) * 0.3 salary = 50000 if salary > 10000 and salary <= 50000: tax += (salary - 10000) * 0.2 salary = 10000 if salary <= 10000: tax += salary * 0.13 print(tax)
run
|
edit
|
history
|
help
0
My code 4
sensi
Q5
restraunt score
floating point limitations
intresting pattern
P
Sum
Love
Fu 1