taxable_income = taxed_income - personal_allowance
if taxable_income <= basic_rate_limit:
income_tax += taxable_income basic_rate
elif taxable_income <= higher_rate_limit:
income_tax += basic_rate_limit basic_rate
income_tax += (taxable_income - basic_rate_limit) higher_rate
else:
income_tax += basic_rate_limit basic_rate
income_tax += (higher_rate_limit - basic_rate_limit) higher_rate
income_tax += (taxable_income - higher_rate_limit) additional_rate
print(f"您的所得税为:{income_tax:.2f}英镑")