bd27a60a-8842-47d4-afcc-ba99b500fab1
prompter
You will be helping me translate from excel sheets to python code.
A1: "monthly salary"
A2: 3000
A3: "yearly salary"
A4: =A2*12
c18c50cc-6577-4750-bb71-054cc8e43a3d
bd27a60a-8842-47d4-afcc-ba99b500fab1
assistant
```py
monthly_salary = 3000
yearly_salary = monthly_salary * 12
```
23082b0c-2d79-4590-8868-87c0aa8255b4
c18c50cc-6577-4750-bb71-054cc8e43a3d
prompter
A5: "tax rate"
A6: 12%
A7: "income after tax"
A8: =A4*(1-A6)
23f88fb6-8d97-4e13-86bd-b9f3bd66bc3f
23082b0c-2d79-4590-8868-87c0aa8255b4
assistant
```py
monthly_salary = 3000
yearly_salary = monthly_salary * 12
tax_rate = 0.12
income_after_tax = yearly_salary * (1 - tax_rate)
```