You will write three small functions for a shop bill and test them on the pressure cooker of the lesson: ₹ at .
Your tasks.
cgst, return the CGST on a price: half the rate, as a percentage of the price.price_paid, return the price plus the CGST plus the SGST.price_before_tax, work backwards: divide the amount paid by .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…