prices and tax_rates (as decimals like 0.18), write gross_prices(prices, tax_rates) returning each price with its own tax applied, rounded to 2 decimals, via zip inside a comprehension.gross_prices([100, 200], [0.18, 0.05])
[118.0, 210.0]
100×1.18 and 200×1.05.
zip pairs the two lists element-wise.
round(p * (1 + r), 2).