#北京计算个人所得税
total_income = int(input("请输入你的总收入:"))
endownment_insurance = total_income * 0.08
medical_insurance = total_income * 0.02
unemployment_insurance = total_income * 0.002
housing_provident_fund = total_income * 0.12
earned_income = total_income - endownment_insurance - medical_insurance -unemployment_insurance - housing_provident_fund
tax_payable = earned_income - 3500
print("个人缴纳五险一金:", total_income * 0.222)
if tax_payable <= 1500:
tax = tax_payable * 0.03
print("个人所得税:",tax)
elif tax_payable <=4500:
tax = (tax_payable + 105) * 0.1
print("个人所得税:",tax)
elif tax_payable <=9000:
tax = (tax_payable + 555) * 0.2
print("个人所得税:",tax)
elif tax_payable <=35000:
tax = (tax_payable + 1005) * 0.25
print("个人所得税:",tax)
elif tax_payable <=55000:
tax = (tax_payable + 2755) * 0.3
print("个人所得税:",tax)
elif tax_payable <=80000:
tax = (tax_payable + 5505) * 0.35
print("个人所得税:",tax)
else:
tax = (tax_payable - 13505) * 0.45
print("个人所得税:",tax)
income = total_income - endownment_insurance - medical_insurance - unemployment_insurance - housing_provident_fund - tax
print("实际收入:", income)
北京个税计算小程序
最新推荐文章于 2022-07-01 18:37:23 发布