# Given values
P = 4000000 # Loan amount (LKR)
r = 0.14 # Monthly interest rate (14%)
n = 60 # Number of months
# Loan amortization formula to calculate monthly payment
M = P * (r * (1 + r)**n) / ((1 + r)**n - 1)
print(f"Monthly Payment: {M}")
Mathbot Says...
I wasn't able to parse your question, but the HE.NET team is hard at work making me smarter.