Write with_gst(amount, rate=18) returning the amount including GST, rounded to 2 decimals.
with_gst(amount, rate=18)
with_gst(100) → 118
with_gst(100, 5) → 105
Submit runs 5 tests, including hidden edge cases.
Run your code to see the output here.