annualInterestRate = 0.2
monthlyInterestRate = annualInterestRate / 12.0
monthlyPayment = 10
running = true
while running:
    currentBalance = balance
for each in range(0, 12):
    currentBalance = currentBalance - monthlyPayment
currentBalance = currentBalance + monthlyInterestRate * currentBalance
if currentBalance > 0:
    monthlyPayment += 10
else:
    running = false
print(monthlyPayment)
Code to Calculate Minimum Monthly Credit Card Repayment Over A year