invoice_total(items) where each item is (name, price, qty, gst_pct). Return the grand total: sum of price × qty × (1 + gst_pct/100) per line, rounded to 2 decimals at the END (not per line — rounding order is a real billing bug).invoice_total([('pen', 10, 3, 18), ('book', 250, 1, 5)])297.9
35.4 + 262.5 = 297.9, rounded once.
Accumulate the exact values first.
round(total, 2) at the end.