#!/usr/bin/env python# coding: utf-8#def payment(balance, pay, annualInterestRate=.2): monthlyInterestRate = annualInterestRate / 12.0 def _trysolution(monthlypayment): unpaidbalance = balance for mn in xrange(1, 13): unpaidbalance -= monthlypayment unpaidbalance += monthlyInterestRate * unpaidbalance return unpaidbalance python -u "qa.py"#~ 310#~ 440#~ 360#~ 450#~ >Exit code: 0 Time: 0.067