Python Forum
How to Think Like a Computer Scientist - Iteration Problem
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Think Like a Computer Scientist - Iteration Problem
#6
The division by zero is causing the problem. You want the if statement in checkout, right before the division, to prevent the problem from ever happening.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
RE: How to Think Like a Computer Scientist - Iteration Problem - by ichabod801 - Sep-07-2017, 04:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  list call problem in generator function using iteration and recursive calls postta 1 2,047 Oct-24-2020, 09:33 PM
Last Post: bowlofred
  python result problem of an iteration algorithm for power allocation Jessica 1 2,795 Sep-07-2018, 08:08 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

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