Python Forum
ZeroDivisionError help
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ZeroDivisionError help
#4
It is difficult to give a proper suggestion if I can't see the rest of the code. I'm assuming your code runs in a loop? If so, I think my suggestion would still work, since it will repeat the input section again.

If not, it would be a matter of overall design of your program. There would different ways to ask for input again after an exception.
Reply


Messages In This Thread
ZeroDivisionError help - by zimmytheflygirl - Jun-18-2024, 05:57 PM
RE: ZeroDivisionError help - by Jeff_900 - Jun-18-2024, 07:17 PM
RE: ZeroDivisionError help - by zimmytheflygirl - Jun-18-2024, 07:22 PM
RE: ZeroDivisionError help - by Jeff_900 - Jun-18-2024, 07:30 PM
RE: ZeroDivisionError help - by zimmytheflygirl - Jun-18-2024, 07:45 PM
RE: ZeroDivisionError help - by zimmytheflygirl - Jun-18-2024, 07:56 PM
RE: ZeroDivisionError help - by Jeff_900 - Jun-18-2024, 08:00 PM
RE: ZeroDivisionError help - by deanhystad - Jun-19-2024, 12:43 AM
RE: ZeroDivisionError help - by Pedroski55 - Jun-21-2024, 03:14 PM
RE: ZeroDivisionError help - by zimmytheflygirl - Jun-21-2024, 11:58 PM
RE: ZeroDivisionError help - by deanhystad - Jun-22-2024, 03:22 AM
RE: ZeroDivisionError help - by zimmytheflygirl - Jun-24-2024, 01:15 PM

Forum Jump:

User Panel Messages

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