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

Removes comma from end of line #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

copycatchiller
Copy link

I believe there is an accidental comma at the end of the assert statement, which will cause a syntax error.

I believe there is an accidental comma at the end of the assert statement, which will cause a syntax error.
@julienr
Copy link
Owner

julienr commented Dec 17, 2017

Thanks for looking at this.

The assert is written as

assert difficulty >= 1, "Difficulty of 0 is not possible"

which is correct syntax. The comma at the end of line in the .ipynb file is because the notebook is stored as JSON, so it's the JSON separator, but this is fine as well.

The notebook works fine on my machine (python 3.6.2, jupyter 4.3.0), maybe you have another version ?

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