Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix division by zero error, and fix typo #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Joshua-Gordon
Copy link

I've replaced a list is [] call with len(list) == 0

At one point in the code, a list is checked if empty using `is []`. This
commit changes it to check if the `len()` of the list is 0, as `[] is
[]` evaluates to False.
@dhsdshdhk
Copy link

I also had a problem with division by zero, hope the author is active and maintaining this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants