-
-
[推荐]个人所得计算器(好玩的)
-
发表于: 2018-11-16 22:35 2905
-
""" 输入月收入和五险一金计算个人所得税(20181001之前版) Version: 0.1 Author: 骆昊 Date: 2018-02-28 """ salary = float(input('本月收入: ')) insurance = float(input('五险一金: ')) diff = salary - insurance - 3500 if diff <= 0: rate = 0 deduction = 0 elif diff < 1500: rate = 0.03 deduction = 0 elif diff < 4500: rate = 0.1 deduction = 105 elif diff < 9000: rate = 0.2 deduction = 555 elif diff < 35000: rate = 0.25 deduction = 1005 elif diff < 55000: rate = 0.3 deduction = 2755 elif diff < 80000: rate = 0.35 deduction = 5505 else: rate = 0.45 deduction = 13505 tax = abs(diff * rate - deduction) print('原个人所得税: ¥%.2f元' % tax) print('原实际到手收入: ¥%.2f元' % (diff + 3500 - tax))
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
赞赏
他的文章
- 想提交漏洞发现非专家没资格提交漏洞 1216
- [原创]渗透测试思维导图 2910
- [分享]渗透测试读书笔记 13615
- 物联网学习思维导图 24191
- [原创]微信多开脚本 8320
看原图
赞赏
雪币:
留言: