final_price(price, is_member, coupon_percent) that computes a final checkout price. Members always get an extra flat 5% off on top of the coupon discount. Apply the coupon percentage first (price * (1 - coupon_percent / 100)), then apply the membership discount if is_member is True (multiply by 0.95). Round the final result to 2 decimal places. Combine arithmetic, comparison, and logical operators as needed.final_price(200, True, 10)
171.0
200 * 0.90 = 180, then 180 * 0.95 = 171.0 for members.
final_price(200, False, 10)
180.0
No membership discount applied.
Apply the coupon first: `price * (1 - coupon_percent / 100)`.
Then conditionally multiply by 0.95 using an if or a ternary, and round(..., 2) at the end.