Write emi_schedule(principal, rate_pct, months) for a simple monthly reducing loan: each month, interest = balance × rate_pct / 1200 (rounded to 2), and a fixed principal part = principal / months. Return the list of monthly payments (interest + principal part), rounded to 2.
emi_schedule(12000, 12, 3) → [4120, 4080, 4040]
emi_schedule(1000, 0, 2) → [500, 500]
Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.