valleyjudge.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:valleyjudge 作者: dcolascione 项目源码 文件源码
def calculate_take_home_pay(self, date, raw_pay):
        """Return take-home pay on a date given raw pay."""
        assert date in self.__income_dates, date
        year_income = sum(self.__income_by_year[date.year].values())
        year_tax = self.__tax_by_year[date.year]
        taxed_pay = raw_pay - (raw_pay / year_income) * year_tax
        return taxed_pay
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号