12345678910 |
- def calc_income_by_time_in_euro_with_sales_tax(worked_time_in_minutes, hourly_wage_in_euro):
- sales_tax_percent = 0.19
- brutto_income_in_euro = worked_time_in_minutes * (hourly_wage_in_euro / 60)
- sales_tax = sales_tax_percent * brutto_income_in_euro
- netto_income_in_euro = brutto_income_in_euro - sales_tax
- return netto_income_in_euro, sales_tax
- def calc_income_by_time_in_euro_without_sales_tax(worked_time_in_minutes, hourly_wage_in_euro):
- return worked_time_in_minutes * (hourly_wage_in_euro / 60)
|