Month=1
x = 100
v = 5000
z = (annualInterestRate)/12
while(balance >= 1):
balance = v
while(Month <= 12):
balance = (balance - x) * (1 + z)
Month+=1
x+=10
print('Lowest Payment: ' + str(x))
The above code is not working
i am trying to find the amount which is min required to pay each moth so that the credit amount at the end of 12 months should be 0 and the amount paid monthly should be fixed

New Topic/Question
Reply




MultiQuote





|