You will write a function that follows an article along a chain of sellers. It gets the list of selling prices before tax and the GST rate, and it returns what each seller pays to the government.
Your tasks.
taxes_paid, find the output tax of each sale.final_gst to the GST on the last price of the chain , , at , and compare it with the sum of the payments.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…