Re: [Tutor] home_finance.py

2007-09-26 Thread Ricardo Aráoz
Eric Walker wrote: > I think you need to check to see if the remaining amount is less than > the payment amount. > > Eric... Or just subtract the minimum between the remaining amount and the payment amount. See below > > */Christopher Spears <[EMAIL PROTECTED]>/* wrote: > > I'm working on

Re: [Tutor] home_finance.py

2007-09-26 Thread Eric Walker
I think you need to check to see if the remaining amount is less than the payment amount. Eric... Christopher Spears <[EMAIL PROTECTED]> wrote: I'm working on a problem in Chapter 5 of Core Python Programming(2nd Edition). I am supposed to write a script that take an opening balance and a mont

Re: [Tutor] home_finance.py

2007-09-25 Thread Ian Witham
On 9/26/07, Christopher Spears <[EMAIL PROTECTED]> wrote: > > I'm working on a problem in Chapter 5 of Core Python > Programming(2nd Edition). I am supposed to write a > script that take an opening balance and a monthly > payment from the user. The script then displays the > balance and payments

[Tutor] home_finance.py

2007-09-25 Thread Christopher Spears
I'm working on a problem in Chapter 5 of Core Python Programming(2nd Edition). I am supposed to write a script that take an opening balance and a monthly payment from the user. The script then displays the balance and payments like so: Enter opening balance: 100 Enter monthly payment: 16.13