Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Zero Division Error
#3
I had thought of that, however I have to use this equation: round( tally / self.word_count * 1000). Since it is supposed to return a value due to the multiple text strings being used, I do not understand why it would return a zero value. Can someone explain?
Since I am new to Python, maybe am I not writing it correctly for it to turn the text into integers properly? I'm still learning.
Reply


Messages In This Thread
Zero Division Error - by moga2003 - Mar-04-2019, 12:49 AM
RE: Zero Division Error - by micseydel - Mar-04-2019, 12:56 AM
RE: Zero Division Error - by moga2003 - Mar-04-2019, 01:32 AM
RE: Zero Division Error - by ichabod801 - Mar-04-2019, 01:55 AM
RE: Zero Division Error - by moga2003 - Mar-07-2019, 02:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Zero Division Error Leo 2 1,342 Mar-25-2022, 05:56 AM
Last Post: Leo
  Finding square roots using long division. jahuja73 10 5,734 Feb-24-2021, 01:25 PM
Last Post: jahuja73
  Division problem Eric7Giants 1 1,758 Nov-16-2019, 05:50 AM
Last Post: ndc85430
  Count how many carpets you need to fill room floor without multiplication/division Ech0ke 1 2,371 Apr-20-2019, 07:50 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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