Q#25: Quarterly earnings calculator
Suppose a company is taxed 20% if earnings for a given quarter are > = $3M USD.
If earnings land < $3M USD for the quarter, the company is taxed at a lower rate of 15%.
Write a function using Python to calculate both the pre-tax and post-tax earnings for a given…