Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please help with the code
#6
You're subtracting the interest. Aren't you supposed to add the interest?

Also, you don't want to subtract the interest from the month, you want to increase the month by one each time through the loop. You can do that with month += 1.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Please help with the code - by zarnav - Feb-12-2017, 02:15 PM
RE: Please help with the code - by wavic - Feb-12-2017, 02:17 PM
RE: Please help with the code - by zarnav - Feb-12-2017, 02:20 PM
RE: Please help with the code - by wavic - Feb-12-2017, 02:37 PM
RE: Please help with the code - by zarnav - Feb-12-2017, 04:32 PM
RE: Please help with the code - by ichabod801 - Feb-12-2017, 07:11 PM
RE: Please help with the code - by sparkz_alot - Feb-13-2017, 03:09 PM
RE: Please help with the code - by wavic - Feb-13-2017, 03:45 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020