Skip to content

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