aggiunge esercizio 11

This commit is contained in:
davide committed 2026-04-08 10:16:11 +02:00
1 parent f38511f5e3
commit 414c038def
1 file changed
+12
+12
View File
@@ -0,0 +1,12 @@
income = float(input("Enter the annual income: "))
if income<85528:
tax = income*0.18 - 556.2
else:
tax = 14839.2 + 0.32 * (income - 85528)
if tax<0:
tax = 0
tax = round(tax, 0)
print("The tax is:", tax, "thalers")